Commits

Anonymous committed 1304c51

Fixed overlong text constants for VS.NET 2003.

Comments (0)

Files changed (5)

 	$(top_srcdir)/config \
 	$(top_srcdir)/examples \
 	$(top_srcdir)/doc \
+	$(top_srcdir)/doc/capi \
 	$(top_srcdir)/doc/src \
+	$(top_srcdir)/doc/tutorial \
 	$(top_srcdir)/test \
 	$(top_srcdir)/test/c_api \
 	$(top_srcdir)/test/util \
 * Merge transform smooth scale changes in rev. 1715:1717
 * Rewrite and fix up numpysurfarray and numpysndarray
 * Add prebuilt package for Win32 VC++ builds.
+* Refine quitting for SDL_QuitSubSystem wrapper.
 
 Things to ADD:
 ==============

doc/capi/sdlbase.rst

   
     void (*quit_func)(void)
 
+  As the functions also will upon exiting the Python interpreter instance,
+  no Python specific objects or calls must be used.
+
   This will not check the argument for being *NULL*.
 
 .. cfunction:: int Uint8FromObj (PyObject *obj, Uint8 *val)

doc/create_cref.py

 
         tmptext += l + "\\n"
     tmptext = tmptext.replace ("\\n", "")
-    while len (tmptext) > 2000:
+    while len (tmptext) > 1900:
         # Split after 2000 characters to avoid problems with the Visual
         # C++ 2048 character limit.
-        newtext += tmptext[:2000] + "\" \\\n\""
-        tmptext = tmptext[2000:]
+        newtext += tmptext[:1900] + "\" \\\n\""
+        tmptext = tmptext[1900:]
     newtext += tmptext
     return newtext
 
 _sdl_quit (PyObject *self)
 {
     _quit ();
-    Py_RETURN_TRUE;
+    Py_RETURN_NONE;
 }
 
 static PyObject*
     Uint32 flags;
     if (!PyArg_ParseTuple (args, "l:quit_subsystem", &flags))
         return NULL;
+    /* TODO: SDL related modules does not quit correctly, etc. as the
+     * _quit() hooks are not called! */
     SDL_QuitSubSystem (flags);
     Py_RETURN_NONE;
 }
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.