Fix FFI function mistakes

This commit is contained in:
Joonas Javanainen 2015-08-18 19:55:55 +03:00
parent 0c916b6e2b
commit 8c3c485cd5

View File

@ -520,7 +520,7 @@ extern "C" {
pub fn igBegin2(name: *const c_char, opened: *mut bool, size_on_first_use: ImVec2, pub fn igBegin2(name: *const c_char, opened: *mut bool, size_on_first_use: ImVec2,
bg_alpha: c_float, flags: ImGuiWindowFlags) -> bool; bg_alpha: c_float, flags: ImGuiWindowFlags) -> bool;
pub fn igEnd(); 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; extra_flags: ImGuiWindowFlags) -> bool;
pub fn igBeginChildEx(id: ImGuiID, size: ImVec2, border: bool, pub fn igBeginChildEx(id: ImGuiID, size: ImVec2, border: bool,
extra_flags: ImGuiWindowFlags) -> bool; extra_flags: ImGuiWindowFlags) -> bool;
@ -634,8 +634,8 @@ extern "C" {
extern "C" { extern "C" {
pub fn igText(fmt: *const c_char, ...); pub fn igText(fmt: *const c_char, ...);
// pub fn igTextV(fmt: *const c_char, args: va_list); // pub fn igTextV(fmt: *const c_char, args: va_list);
pub fn igTextColored(col: ImVec4, fmt: *const char, ...); pub fn igTextColored(col: ImVec4, fmt: *const c_char, ...);
// pub fn igTextColoredV(col: ImVec4, fmt: *const char, args: va_list); // pub fn igTextColoredV(col: ImVec4, fmt: *const c_char, args: va_list);
pub fn igTextDisabled(fmt: *const c_char, ...); pub fn igTextDisabled(fmt: *const c_char, ...);
// pub fn igTextDisabledV(fmt: *const c_char, args: va_list); // pub fn igTextDisabledV(fmt: *const c_char, args: va_list);
pub fn igTextWrapped(fmt: *const c_char, ...); pub fn igTextWrapped(fmt: *const c_char, ...);