Changeset 238
- Timestamp:
- 03/07/07 12:54:27 (1 year ago)
- Files:
-
- trunk/DerelictGL/derelict/opengl/gl12.d (modified) (2 diffs)
- trunk/DerelictGL/derelict/opengl/gltypes.d (modified) (1 diff)
- trunk/DerelictGLU/derelict/opengl/glu.d (modified) (1 diff)
- trunk/DerelictSDL/derelict/sdl/audio.d (modified) (1 diff)
- trunk/DerelictSDL/derelict/sdl/events.d (modified) (1 diff)
- trunk/DerelictSDL/derelict/sdl/rwops.d (modified) (1 diff)
- trunk/DerelictSDL/derelict/sdl/timer.d (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/DerelictGL/derelict/opengl/gl12.d
r236 r238 48 48 wglBindFunc(cast(void**)&glTexImage3D, "glTexImage3D", lib); 49 49 wglBindFunc(cast(void**)&glTexSubImage3D, "glTexSubImage3D", lib); 50 wglBindFunc(cast(void**)&gl TexSubImage3D, "glTexSubImage3D", lib);50 wglBindFunc(cast(void**)&glCopyTexSubImage3D, "glCopyTexSubImage3D", lib); 51 51 } 52 52 else … … 55 55 bindFunc(glTexImage3D)("glTexImage3D", lib); 56 56 bindFunc(glTexSubImage3D)("glTexSubImage3D", lib); 57 bindFunc(gl TexSubImage3D)("glTexSubImage3D", lib);57 bindFunc(glCopyTexSubImage3D)("glCopyTexSubImage3D", lib); 58 58 } 59 59 } trunk/DerelictGL/derelict/opengl/gltypes.d
r236 r238 54 54 enum : GLboolean 55 55 { 56 G _FALSE = 0x0,56 GL_FALSE = 0x0, 57 57 GL_TRUE = 0x1, 58 58 } trunk/DerelictGLU/derelict/opengl/glu.d
r237 r238 295 295 typedef GLUtesselator GLUtriangulatorObj; 296 296 297 typedef void function() _GLUfuncptr; 298 297 version(Windows) 298 { 299 extern(Windows) typedef void function() _GLUfuncptr; 300 } 301 else 302 { 303 extern(C) typedef void function() _GLUfuncptr; 304 } 299 305 //============================================================================== 300 306 // DLL FUNCTIONS trunk/DerelictSDL/derelict/sdl/audio.d
r237 r238 47 47 Uint16 padding; 48 48 Uint32 size; 49 void (*callback)(void *userdata, Uint8 *stream, int len);49 extern(C) void (*callback)(void *userdata, Uint8 *stream, int len); 50 50 void *userdata; 51 51 } trunk/DerelictSDL/derelict/sdl/events.d
r237 r238 226 226 } 227 227 228 typedef int function(SDL_Event *event) SDL_EventFilter;228 extern(C) typedef int function(SDL_Event *event) SDL_EventFilter; 229 229 230 230 enum : Uint8 trunk/DerelictSDL/derelict/sdl/rwops.d
r237 r238 58 58 struct SDL_RWops 59 59 { 60 int (*seek)(SDL_RWops *context, int offset, int whence); 61 int (*read)(SDL_RWops *context, void *ptr, int size, int maxnum); 62 int (*write)(SDL_RWops *context, void *ptr, int size, int num); 63 int (*close)(SDL_RWops *context); 60 extern(C) 61 { 62 int (*seek)(SDL_RWops *context, int offset, int whence); 63 int (*read)(SDL_RWops *context, void *ptr, int size, int maxnum); 64 int (*write)(SDL_RWops *context, void *ptr, int size, int num); 65 int (*close)(SDL_RWops *context); 66 } 67 64 68 Uint32 type; 65 69 union Hidden trunk/DerelictSDL/derelict/sdl/timer.d
r237 r238 43 43 } 44 44 45 typedef Uint32 function(Uint32) SDL_TimerCallback; 46 typedef Uint32 function(Uint32,void*) SDL_NewTimerCallback; 45 extern(C) 46 { 47 typedef Uint32 function(Uint32) SDL_TimerCallback; 48 typedef Uint32 function(Uint32,void*) SDL_NewTimerCallback; 49 } 47 50 48 51 alias void *SDL_TimerID;
