Convert some more enums
This commit is contained in:
parent
3f046d9db7
commit
052ab7b75b
4 changed files with 29 additions and 20 deletions
|
|
@ -98,8 +98,8 @@ pub extern "c" fn GetRandomValue(min: c_int, max: c_int) c_int;
|
|||
pub extern "c" fn SetRandomSeed(seed: c_uint) void;
|
||||
pub extern "c" fn TakeScreenshot(fileName: [*c]const u8) void;
|
||||
pub extern "c" fn SetConfigFlags(flags: rl.ConfigFlags) void;
|
||||
pub extern "c" fn TraceLog(logLevel: c_int, text: [*c]const u8, ...) void;
|
||||
pub extern "c" fn SetTraceLogLevel(logLevel: c_int) void;
|
||||
pub extern "c" fn TraceLog(logLevel: rl.TraceLogLevel, text: [*c]const u8, ...) void;
|
||||
pub extern "c" fn SetTraceLogLevel(logLevel: rl.TraceLogLevel) void;
|
||||
pub extern "c" fn MemAlloc(size: c_uint) *anyopaque;
|
||||
pub extern "c" fn MemRealloc(ptr: *anyopaque, size: c_uint) *anyopaque;
|
||||
pub extern "c" fn MemFree(ptr: *anyopaque) void;
|
||||
|
|
@ -144,7 +144,7 @@ pub extern "c" fn IsKeyDown(key: rl.KeyboardKey) bool;
|
|||
pub extern "c" fn IsKeyReleased(key: rl.KeyboardKey) bool;
|
||||
pub extern "c" fn IsKeyUp(key: rl.KeyboardKey) bool;
|
||||
pub extern "c" fn SetExitKey(key: rl.KeyboardKey) void;
|
||||
pub extern "c" fn GetKeyPressed() c_int;
|
||||
pub extern "c" fn GetKeyPressed() rl.KeyboardKey;
|
||||
pub extern "c" fn GetCharPressed() c_int;
|
||||
pub extern "c" fn IsGamepadAvailable(gamepad: c_int) bool;
|
||||
pub extern "c" fn GetGamepadName(gamepad: c_int) [*c]const u8;
|
||||
|
|
@ -152,7 +152,7 @@ pub extern "c" fn IsGamepadButtonPressed(gamepad: c_int, button: rl.GamepadButto
|
|||
pub extern "c" fn IsGamepadButtonDown(gamepad: c_int, button: rl.GamepadButton) bool;
|
||||
pub extern "c" fn IsGamepadButtonReleased(gamepad: c_int, button: rl.GamepadButton) bool;
|
||||
pub extern "c" fn IsGamepadButtonUp(gamepad: c_int, button: rl.GamepadButton) bool;
|
||||
pub extern "c" fn GetGamepadButtonPressed() c_int;
|
||||
pub extern "c" fn GetGamepadButtonPressed() rl.GamepadButton;
|
||||
pub extern "c" fn GetGamepadAxisCount(gamepad: c_int) c_int;
|
||||
pub extern "c" fn GetGamepadAxisMovement(gamepad: c_int, axis: c_int) f32;
|
||||
pub extern "c" fn SetGamepadMappings(mappings: [*c]const u8) c_int;
|
||||
|
|
@ -176,8 +176,8 @@ pub extern "c" fn GetTouchPosition(index: c_int) rl.Vector2;
|
|||
pub extern "c" fn GetTouchPointId(index: c_int) c_int;
|
||||
pub extern "c" fn GetTouchPointCount() c_int;
|
||||
pub extern "c" fn SetGesturesEnabled(flags: c_uint) void;
|
||||
pub extern "c" fn IsGestureDetected(gesture: rl.Gestures) bool;
|
||||
pub extern "c" fn GetGestureDetected() c_int;
|
||||
pub extern "c" fn IsGestureDetected(gesture: rl.Gesture) bool;
|
||||
pub extern "c" fn GetGestureDetected() rl.Gesture;
|
||||
pub extern "c" fn GetGestureHoldDuration() f32;
|
||||
pub extern "c" fn GetGestureDragVector() rl.Vector2;
|
||||
pub extern "c" fn GetGestureDragAngle() f32;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue