зеркало из https://github.com/stride3d/SDL2-CS.git
RWops doc fixes
This commit is contained in:
Родитель
650fa8e44a
Коммит
f284899867
|
@ -172,8 +172,8 @@ namespace SDL2
|
|||
out int channels
|
||||
);
|
||||
|
||||
/* IntPtr refers to a Mix_Chunk* */
|
||||
/* THIS IS AN RWops FUNCTION! */
|
||||
/* src refers to an SDL_RWops*, IntPtr to a Mix_Chunk* */
|
||||
/* THIS IS A PUBLIC RWops FUNCTION! */
|
||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern IntPtr Mix_LoadWAV_RW(
|
||||
IntPtr src,
|
||||
|
@ -181,6 +181,7 @@ namespace SDL2
|
|||
);
|
||||
|
||||
/* IntPtr refers to a Mix_Chunk* */
|
||||
/* This is an RWops macro in the C header. */
|
||||
public static IntPtr Mix_LoadWAV(string file)
|
||||
{
|
||||
IntPtr rwops = SDL.INTERNAL_SDL_RWFromFile(file, "rb");
|
||||
|
|
|
@ -100,9 +100,8 @@ namespace SDL2
|
|||
int ptsize
|
||||
);
|
||||
|
||||
/* IntPtr refers to a TTF_Font* */
|
||||
/* src refers to an SDL_RWops* */
|
||||
/* THIS IS AN RWops FUNCTION! */
|
||||
/* src refers to an SDL_RWops*, IntPtr to a TTF_Font* */
|
||||
/* THIS IS A PUBLIC RWops FUNCTION! */
|
||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern IntPtr TTF_OpenFontRW(
|
||||
IntPtr src,
|
||||
|
@ -119,9 +118,8 @@ namespace SDL2
|
|||
long index
|
||||
);
|
||||
|
||||
/* IntPtr refers to a TTF_Font* */
|
||||
/* src refers to an SDL_RWops* */
|
||||
/* THIS IS AN RWops FUNCTION! */
|
||||
/* src refers to an SDL_RWops*, IntPtr to a TTF_Font* */
|
||||
/* THIS IS A PUBLIC RWops FUNCTION! */
|
||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern IntPtr TTF_OpenFontIndexRW(
|
||||
IntPtr src,
|
||||
|
|
Загрузка…
Ссылка в новой задаче