diff --git a/src/SDL2_mixer.cs b/src/SDL2_mixer.cs index 2f09a58..7c515c4 100644 --- a/src/SDL2_mixer.cs +++ b/src/SDL2_mixer.cs @@ -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"); diff --git a/src/SDL2_ttf.cs b/src/SDL2_ttf.cs index 820f3b6..b404446 100644 --- a/src/SDL2_ttf.cs +++ b/src/SDL2_ttf.cs @@ -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,