mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 14:48:47 +00:00
Split-up require_results foreign blocks
This commit is contained in:
Vendored
+1
-1
@@ -19,7 +19,7 @@ SensorType :: enum c.int {
|
||||
GYRO_R, /**< Gyroscope for right Joy-Con controller */
|
||||
}
|
||||
|
||||
@(default_calling_convention="c", link_prefix="SDL_")
|
||||
@(default_calling_convention="c", link_prefix="SDL_", require_results)
|
||||
foreign lib {
|
||||
GetSensors :: proc(count: ^c.int) -> [^]SensorID ---
|
||||
GetSensorNameForID :: proc(instance_id: SensorID) -> cstring ---
|
||||
|
||||
Reference in New Issue
Block a user