RWops doc fixes
This commit is contained in:
parent
650fa8e44a
commit
f284899867
@ -172,8 +172,8 @@ namespace SDL2
|
|||||||
out int channels
|
out int channels
|
||||||
);
|
);
|
||||||
|
|
||||||
/* IntPtr refers to a Mix_Chunk* */
|
/* src refers to an SDL_RWops*, IntPtr to a Mix_Chunk* */
|
||||||
/* THIS IS AN RWops FUNCTION! */
|
/* THIS IS A PUBLIC RWops FUNCTION! */
|
||||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern IntPtr Mix_LoadWAV_RW(
|
public static extern IntPtr Mix_LoadWAV_RW(
|
||||||
IntPtr src,
|
IntPtr src,
|
||||||
@ -181,6 +181,7 @@ namespace SDL2
|
|||||||
);
|
);
|
||||||
|
|
||||||
/* IntPtr refers to a Mix_Chunk* */
|
/* IntPtr refers to a Mix_Chunk* */
|
||||||
|
/* This is an RWops macro in the C header. */
|
||||||
public static IntPtr Mix_LoadWAV(string file)
|
public static IntPtr Mix_LoadWAV(string file)
|
||||||
{
|
{
|
||||||
IntPtr rwops = SDL.INTERNAL_SDL_RWFromFile(file, "rb");
|
IntPtr rwops = SDL.INTERNAL_SDL_RWFromFile(file, "rb");
|
||||||
|
@ -100,9 +100,8 @@ namespace SDL2
|
|||||||
int ptsize
|
int ptsize
|
||||||
);
|
);
|
||||||
|
|
||||||
/* IntPtr refers to a TTF_Font* */
|
/* src refers to an SDL_RWops*, IntPtr to a TTF_Font* */
|
||||||
/* src refers to an SDL_RWops* */
|
/* THIS IS A PUBLIC RWops FUNCTION! */
|
||||||
/* THIS IS AN RWops FUNCTION! */
|
|
||||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern IntPtr TTF_OpenFontRW(
|
public static extern IntPtr TTF_OpenFontRW(
|
||||||
IntPtr src,
|
IntPtr src,
|
||||||
@ -119,9 +118,8 @@ namespace SDL2
|
|||||||
long index
|
long index
|
||||||
);
|
);
|
||||||
|
|
||||||
/* IntPtr refers to a TTF_Font* */
|
/* src refers to an SDL_RWops*, IntPtr to a TTF_Font* */
|
||||||
/* src refers to an SDL_RWops* */
|
/* THIS IS A PUBLIC RWops FUNCTION! */
|
||||||
/* THIS IS AN RWops FUNCTION! */
|
|
||||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern IntPtr TTF_OpenFontIndexRW(
|
public static extern IntPtr TTF_OpenFontIndexRW(
|
||||||
IntPtr src,
|
IntPtr src,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user