-fixed emscripten compilation
This commit is contained in:
parent
3c1c67efd0
commit
84ba5f9eb5
6 changed files with 36 additions and 71 deletions
10
demos/external/sources/cimgui/cimgui.d
vendored
10
demos/external/sources/cimgui/cimgui.d
vendored
|
|
@ -2,9 +2,17 @@
|
|||
//based on imgui.h file version "1.73" from Dear ImGui https://github.com/ocornut/imgui
|
||||
module cimgui.cimgui;
|
||||
|
||||
import core.stdc.stdarg;
|
||||
// import core.stdc.stdarg;
|
||||
//import core.stdc.stdio;
|
||||
|
||||
version(WebAssembly)
|
||||
{
|
||||
alias va_list = char*;
|
||||
pragma(LDC_va_start)
|
||||
void va_start(T)(out va_list ap, ref T parmn) @nogc;
|
||||
}
|
||||
else import core.stdc.stdarg;
|
||||
|
||||
extern (C):
|
||||
|
||||
//alias ImU64 = ulong;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue