mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-03 14:23:40 +01:00
Make manual overloads for string-returning functinos
This commit is contained in:
parent
334a02e69a
commit
4b1857e40d
12 changed files with 239 additions and 462 deletions
|
|
@ -19,14 +19,14 @@ public static unsafe partial class ImGuiNative
|
|||
}
|
||||
}
|
||||
|
||||
[LibraryImport($"{LibraryName}.dll", EntryPoint = "ImDrawList_AddCallback")]
|
||||
[LibraryImport(LibraryName, EntryPoint = "ImDrawList_AddCallback")]
|
||||
[UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
|
||||
public static partial void AddCallback(
|
||||
ImDrawList* self,
|
||||
delegate*<ImDrawList*, ImDrawCmd*, void> callback,
|
||||
void* callbackData = null);
|
||||
|
||||
[LibraryImport($"{LibraryName}.dll", EntryPoint = "igInputTextEx")]
|
||||
[LibraryImport(LibraryName, EntryPoint = "igInputTextEx")]
|
||||
[UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
|
||||
public static partial int InputTextEx(
|
||||
byte* label,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue