This commit is contained in:
Ethan Lee 2014-07-07 16:17:56 -04:00
Родитель 650fa8e44a
Коммит f284899867
2 изменённых файлов: 7 добавлений и 8 удалений

Просмотреть файл

@ -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,