public static SDL_bool SDL_SetHintWithPriority(string name, string value, SDL_HintPriority priority) { var n = Util.StringToHGlobalUTF8(name); var v = Util.StringToHGlobalUTF8(value); var result = _SDL_SetHintWithPriority(n, v, priority); Marshal.FreeHGlobal(n); Marshal.FreeHGlobal(v); return(result); }
public static extern SDL_bool SDL_SetHintWithPriority( [InAttribute()] [MarshalAsAttribute(UnmanagedType.LPStr)] string name, [InAttribute()] [MarshalAsAttribute(UnmanagedType.LPStr)] string value, SDL_HintPriority priority );
private static SDL_bool _SDL_SetHintWithPriority(IntPtr name, IntPtr value, SDL_HintPriority priority) => s_SDL_SetHintWithPriority_IntPtr_IntPtr_SDL_HintPriority_t(name, value, priority);