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