Commits

Anonymous committed ae0ce9e

display.c,draw.c,event.c and fastevent.c for symbian

  • Participants
  • Parent commits e5b5bca
  • Branches symbian_s60

Comments (0)

Files changed (4)

     PyType_Init (PyVidInfo_Type);
 
     /* create the module */
-    module = Py_InitModule3 ("display", display_builtins, DOC_PYGAMEDISPLAY);
+    module = Py_InitModule3 (MODPREFIX "display", display_builtins, DOC_PYGAMEDISPLAY);
     dict = PyModule_GetDict (module);
     self_module = module;
 
 	PyObject *module, *dict;
 
     /* create the module */
-	module = Py_InitModule3("draw", draw_builtins, DOC_PYGAMEDRAW);
+	module = Py_InitModule3(MODPREFIX "draw", draw_builtins, DOC_PYGAMEDRAW);
 	dict = PyModule_GetDict(module);
 
 	/*imported needed apis*/
     PyType_Init (PyEvent_Type);
 
     /* create the module */
-    module = Py_InitModule3 ("event", event_builtins, DOC_PYGAMEEVENT);
+    module = Py_InitModule3 (MODPREFIX "event", event_builtins, DOC_PYGAMEEVENT);
     dict = PyModule_GetDict (module);
 
     PyDict_SetItemString (dict, "EventType", (PyObject *)&PyEvent_Type);
     /* imported needed apis */
     import_pygame_base ();
     import_pygame_event ();
-    eventmodule = PyImport_ImportModule ("pygame.event");
+    eventmodule = PyImport_ImportModule (MODPREFIX "event");
     if (eventmodule)
     {
         char *NAMES[] = {"Event", "event_name", NULL};