We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b26e532 commit 8d49d1cCopy full SHA for 8d49d1c
unity-native-plugin/src/graphics.rs
@@ -4,9 +4,8 @@ use unity_native_plugin_sys::*;
4
5
pub type RenderBuffer = unity_native_plugin_sys::UnityRenderBuffer;
6
pub type TextureID = unity_native_plugin_sys::UnityTextureID;
7
-pub type RenderingEvent = unsafe extern "system" fn(eventId: ::std::os::raw::c_int);
8
-pub type RenderingEventAndData =
9
- unsafe extern "system" fn(eventId: ::std::os::raw::c_int, data: *mut ::std::os::raw::c_void);
+pub type RenderingEvent = unity_native_plugin_sys::UnityRenderingEvent;
+pub type RenderingEventAndData = unity_native_plugin_sys::UnityRenderingEventAndData;
10
11
#[repr(u32)]
12
#[derive(Copy, Clone, PartialEq, Eq)]
0 commit comments