Split out SDL_Color into its own C-level class
[sdlgit/SDL_perl.git] / typemap
diff --git a/typemap b/typemap
index 12a35fa..756be5b 100644 (file)
--- a/typemap
+++ b/typemap
@@ -20,7 +20,7 @@ SDL_CD *              T_PTR
 SDL_CDtrack *          T_PTR
 SDL_TimerCallback      T_PTR
 SDL_Rect *             O_OBJECT
-SDL_Color *            T_PTR
+SDL_Color *            O_OBJECT
 SDL_Palette *          T_PTR
 SDL_PixelFormat *      T_PTR
 SDL_Cursor *           T_PTR