pub unsafe fn ImGuiPlatformIO_Set_Platform_GetWindowPos_OutParam(
platform_io: *mut ImGuiPlatformIO,
user_callback: Option<unsafe extern "C" fn(vp: *mut ImGuiViewport, out_pos: *mut ImVec2)>,
)Expand description
Install a C-compatible out-parameter callback for ImGuiPlatformIO::Platform_GetWindowPos.
This avoids exposing Rust callbacks through the small-aggregate ImVec2 return ABI used by
Dear ImGui’s C++ callback slot. The shim keeps its own per-ImGuiPlatformIO storage and does
not occupy ImGuiIO::BackendLanguageUserData.
§Safety
platform_io must be null or point to a live ImGuiPlatformIO. user_callback, when present,
must obey Dear ImGui’s platform callback contract and must not unwind.