-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
124 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
typedef struct | ||
{ | ||
float x, y; | ||
} ImVec2; | ||
|
||
typedef struct ImVec3 ImVec3; | ||
struct ImVec3 | ||
{ | ||
float x, y, z; | ||
}; | ||
|
||
struct ImVec4 | ||
{ | ||
float x, y, z, w; | ||
}; | ||
typedef struct ImVec4 ImVec4; | ||
|
||
struct ImGuiTextRange | ||
{ | ||
const char *b; | ||
const char *e; | ||
}; | ||
typedef struct ImGuiTextRange ImGuiTextRange; | ||
|
||
typedef struct ImVector_ImGuiTextRange | ||
{ | ||
int Size; | ||
int Capacity; | ||
ImGuiTextRange *Data; | ||
} ImVector_ImGuiTextRange; | ||
|
||
struct ImGuiTextFilter | ||
{ | ||
char InputBuf[256]; | ||
ImVector_ImGuiTextRange Filters; | ||
int CountGrep; | ||
}; | ||
typedef struct ImGuiTextRange ImGuiTextRange; | ||
|
||
typedef unsigned short ImWchar16; | ||
typedef ImWchar16 ImWchar; | ||
|
||
typedef struct ImGuiContext ImGuiContext; | ||
struct ImGuiContext; | ||
struct ImGuiContext | ||
{ | ||
int Initialized; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
@[translated] | ||
module tests | ||
|
||
struct ImVec2 { | ||
x f32 | ||
y f32 | ||
} | ||
struct ImVec3 { | ||
x f32 | ||
y f32 | ||
z f32 | ||
} | ||
struct ImVec4 { | ||
x f32 | ||
y f32 | ||
z f32 | ||
w f32 | ||
} | ||
struct ImGuiTextRange { | ||
b &i8 | ||
e &i8 | ||
} | ||
struct ImVector_ImGuiTextRange { | ||
size int | ||
capacity int | ||
data &ImGuiTextRange | ||
} | ||
type ImWchar16 = u16 | ||
struct ImGuiContext { | ||
initialized int | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
@[translated] | ||
module C:\Users\phcre\Documents\v\c2v\tests | ||
|
||
struct ImVec2 { | ||
x f32 | ||
y f32 | ||
} | ||
struct ImVec3 { | ||
x f32 | ||
y f32 | ||
z f32 | ||
} | ||
struct ImVec4 { | ||
x f32 | ||
y f32 | ||
z f32 | ||
w f32 | ||
} | ||
struct ImGuiTextRange { | ||
b &i8 | ||
e &i8 | ||
} | ||
struct ImVector_ImGuiTextRange { | ||
size int | ||
capacity int | ||
data &ImGuiTextRange | ||
} | ||
type ImWchar16 = u16 | ||
struct ImGuiContext { | ||
initialized int | ||
} |