cgo cleanup for linux
This commit is contained in:
parent
581fb79523
commit
cb5202f7c4
@ -3,6 +3,7 @@
|
|||||||
#define FILE_BEGIN 0
|
#define FILE_BEGIN 0
|
||||||
#define FILE_CURRENT 1
|
#define FILE_CURRENT 1
|
||||||
#define FILE_END 2
|
#define FILE_END 2
|
||||||
|
|
||||||
#define SFILE_INVALID_SIZE 0xffffffff
|
#define SFILE_INVALID_SIZE 0xffffffff
|
||||||
|
|
||||||
bool WINAPI SFileOpenArchive(const TCHAR * szMpqName, DWORD dwPriority, DWORD dwFlags, HANDLE * phMpq);
|
bool WINAPI SFileOpenArchive(const TCHAR * szMpqName, DWORD dwPriority, DWORD dwFlags, HANDLE * phMpq);
|
||||||
|
@ -1,11 +1,13 @@
|
|||||||
#define DWORD unsigned int
|
#define WINAPI
|
||||||
#define LPDWORD unsigned int *
|
|
||||||
|
#define DWORD unsigned long
|
||||||
|
#define LPDWORD unsigned long *
|
||||||
#define LPOVERLAPPED void *
|
#define LPOVERLAPPED void *
|
||||||
#define TCHAR char
|
#define TCHAR char
|
||||||
#define HANDLE void *
|
#define HANDLE void *
|
||||||
#define LONG int
|
#define LONG long
|
||||||
|
|
||||||
#define ERROR_HANDLE_EOF 1002
|
#define ERROR_HANDLE_EOF 1002
|
||||||
#define WINAPI
|
|
||||||
|
|
||||||
DWORD GetLastError();
|
DWORD GetLastError();
|
||||||
|
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
package imgui
|
package imgui
|
||||||
|
|
||||||
// #cgo linux CFLAGS: -I./cimgui
|
|
||||||
// #cgo linux LDFLAGS: -L./cimgui -l:cimgui.a -lstdc++ -lm
|
// #cgo linux LDFLAGS: -L./cimgui -l:cimgui.a -lstdc++ -lm
|
||||||
// #include "native.h"
|
// #include "native.h"
|
||||||
import "C"
|
import "C"
|
||||||
|
Loading…
Reference in New Issue
Block a user