Split-up require_results foreign blocks
This commit is contained in:
1 parent
83542a3f04
commit
898bea8a97
6 files changed
+39
-25
No files matched your search
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