mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-11 05:28:35 +00:00
Fix FFI function mistakes
This commit is contained in:
parent
0c916b6e2b
commit
8c3c485cd5
@ -520,7 +520,7 @@ extern "C" {
|
||||
pub fn igBegin2(name: *const c_char, opened: *mut bool, size_on_first_use: ImVec2,
|
||||
bg_alpha: c_float, flags: ImGuiWindowFlags) -> bool;
|
||||
pub fn igEnd();
|
||||
pub fn igBeginChild(str_id: *const char, size: ImVec2, border: bool,
|
||||
pub fn igBeginChild(str_id: *const c_char, size: ImVec2, border: bool,
|
||||
extra_flags: ImGuiWindowFlags) -> bool;
|
||||
pub fn igBeginChildEx(id: ImGuiID, size: ImVec2, border: bool,
|
||||
extra_flags: ImGuiWindowFlags) -> bool;
|
||||
@ -634,8 +634,8 @@ extern "C" {
|
||||
extern "C" {
|
||||
pub fn igText(fmt: *const c_char, ...);
|
||||
// pub fn igTextV(fmt: *const c_char, args: va_list);
|
||||
pub fn igTextColored(col: ImVec4, fmt: *const char, ...);
|
||||
// pub fn igTextColoredV(col: ImVec4, fmt: *const char, args: va_list);
|
||||
pub fn igTextColored(col: ImVec4, fmt: *const c_char, ...);
|
||||
// pub fn igTextColoredV(col: ImVec4, fmt: *const c_char, args: va_list);
|
||||
pub fn igTextDisabled(fmt: *const c_char, ...);
|
||||
// pub fn igTextDisabledV(fmt: *const c_char, args: va_list);
|
||||
pub fn igTextWrapped(fmt: *const c_char, ...);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user