mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
132 lines
5.3 KiB
C#
132 lines
5.3 KiB
C#
// <auto-generated/>
|
|
// Generated by Brutal.Sdl.Generate; do not edit by hand.
|
|
#nullable enable
|
|
|
|
namespace Brutal.SdlApi
|
|
{
|
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
|
public unsafe delegate void* SdlMallocFunc(nuint size);
|
|
|
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
|
public unsafe delegate void* SdlCallocFunc(nuint nmemb, nuint size);
|
|
|
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
|
public unsafe delegate void* SdlReallocFunc(void* mem, nuint size);
|
|
|
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
|
public unsafe delegate void SdlFreeFunc(void* mem);
|
|
|
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
|
public unsafe delegate int SdlCompareCallback(void* a, void* b);
|
|
|
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
|
public unsafe delegate int SdlCompareCallbackR(void* userdata, void* a, void* b);
|
|
|
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
|
public delegate void SdlFunctionPointer();
|
|
|
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
|
public unsafe delegate SdlAssertState SdlAssertionHandler(SdlAssertData* data, void* userdata);
|
|
|
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
|
public unsafe delegate void SdlCleanupPropertyCallback(void* userdata, void* value);
|
|
|
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
|
public unsafe delegate void SdlEnumeratePropertiesCallback(void* userdata, uint props, byte* name);
|
|
|
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
|
public unsafe delegate int SdlThreadFunction(void* data);
|
|
|
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
|
public unsafe delegate void SdlTLSDestructorCallback(void* value);
|
|
|
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
|
public unsafe delegate void SdlAudioStreamDataCompleteCallback(void* userdata, void* buf, int buflen);
|
|
|
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
|
public unsafe delegate void SdlAudioStreamCallback(
|
|
void* userdata,
|
|
SdlAudioStream stream,
|
|
int additional_amount,
|
|
int total_amount
|
|
);
|
|
|
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
|
public unsafe delegate void SdlAudioPostmixCallback(void* userdata, SdlAudioSpec* spec, float* buffer, int buflen);
|
|
|
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
|
public unsafe delegate void* SdlClipboardDataCallback(void* userdata, byte* mime_type, nuint* size);
|
|
|
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
|
public unsafe delegate void SdlClipboardCleanupCallback(void* userdata);
|
|
|
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
|
public unsafe delegate long* SdlEGLAttribArrayCallback(void* userdata);
|
|
|
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
|
public unsafe delegate int* SdlEGLIntArrayCallback(void* userdata, void* display, void* config);
|
|
|
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
|
public unsafe delegate SdlHitTestResult SdlHitTest(SdlWindow win, SdlPoint* area, void* data);
|
|
|
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
|
public unsafe delegate void SdlDialogFileCallback(void* userdata, byte** filelist, int filter);
|
|
|
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
|
public unsafe delegate void SdlMouseMotionTransformCallback(
|
|
void* userdata,
|
|
ulong timestamp,
|
|
SdlWindow window,
|
|
uint mouseID,
|
|
float* x,
|
|
float* y
|
|
);
|
|
|
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
|
public unsafe delegate byte SdlEventFilter(void* userdata, SdlEvent* @event);
|
|
|
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
|
public unsafe delegate SdlEnumerationResult SdlEnumerateDirectoryCallback(
|
|
void* userdata,
|
|
byte* dirname,
|
|
byte* fname
|
|
);
|
|
|
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
|
public unsafe delegate void SdlHintCallback(void* userdata, byte* name, byte* oldValue, byte* newValue);
|
|
|
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
|
public unsafe delegate SdlAppResult SdlAppInitFunc(void** appstate, int argc, byte** argv);
|
|
|
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
|
public unsafe delegate SdlAppResult SdlAppIterateFunc(void* appstate);
|
|
|
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
|
public unsafe delegate SdlAppResult SdlAppEventFunc(void* appstate, SdlEvent* @event);
|
|
|
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
|
public unsafe delegate void SdlAppQuitFunc(void* appstate, SdlAppResult result);
|
|
|
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
|
public unsafe delegate void SdlMainThreadCallback(void* userdata);
|
|
|
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
|
public unsafe delegate void SdlLogOutputFunction(
|
|
void* userdata,
|
|
int category,
|
|
SdlLogPriority priority,
|
|
byte* message
|
|
);
|
|
|
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
|
public unsafe delegate byte SdlX11EventHook(void* userdata, nint xevent);
|
|
|
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
|
public unsafe delegate uint SdlTimerCallback(void* userdata, uint timerID, uint interval);
|
|
|
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
|
public unsafe delegate ulong SdlNSTimerCallback(void* userdata, uint timerID, ulong interval);
|
|
|
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
|
public unsafe delegate void SdlTrayCallback(void* userdata, nint entry);
|
|
}
|