-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathimgui_alias.tcl
More file actions
36 lines (32 loc) · 1.62 KB
/
imgui_alias.tcl
File metadata and controls
36 lines (32 loc) · 1.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Copyright (c) 2022 Nicolas ROBERT.
# Distributed under MIT license. Please see LICENSE for details.
cffi::alias define ImBitArrayForNamedKeys {uchar[512]}
cffi::alias define ImDrawIdx ushort
cffi::alias define ImFileHandle pointer.FILE
cffi::alias define ImGuiID uint
cffi::alias define ImPoolIdx int
cffi::alias define ImS16 short
cffi::alias define ImS32 int
cffi::alias define ImS64 longlong
cffi::alias define ImS8 schar
cffi::alias define ImTextureID pointer
cffi::alias define ImU16 ushort
cffi::alias define ImU32 uint
cffi::alias define ImU64 ulonglong
cffi::alias define ImU8 uchar
cffi::alias define ImWchar16 ushort
cffi::alias define ImWchar32 uint
cffi::alias define ImWchar ImWchar16
cffi::alias define ImGuiTableColumnIdx ImS8
cffi::alias define ImGuiTableDrawChannelIdx ImU8
cffi::alias define ImVector_ImU32 ImU32
cffi::alias define ImVector_ImDrawIdx ImDrawIdx
# define bool as type for struct
cffi::alias define ImBool int
# define bool as type for function
cffi::alias define CIMGUI_BOOL uchar
# cffi::alias define ImGuiMemAllocFunc void*(*)(size_t sz,void* user_data);
# cffi::alias define ImGuiMemFreeFunc void(*)(void* ptr,void* user_data);
# cffi::alias define const_iterator const value_type*
# cffi::alias define iterator value_type*
# cffi::alias define value_type T