Source

pygame / src / base.c

Diff from to

src/base.c

 }
 
 static PyObject*
+get_sdl_byteorder (PyObject *self)
+{
+    return PyLong_FromLong (SDL_BYTEORDER);
+}
+
+static PyObject*
 quit (PyObject* self)
 {
     atexit_quit ();
     { "get_error", (PyCFunction) get_error, METH_NOARGS, DOC_PYGAMEGETERROR },
     { "get_sdl_version", (PyCFunction) get_sdl_version, METH_NOARGS,
       DOC_PYGAMEGETSDLVERSION },
+    { "get_sdl_byteorder", (PyCFunction) get_sdl_byteorder, METH_NOARGS,
+      DOC_PYGAMEGETSDLBYTEORDER },
 
     { "segfault", (PyCFunction) do_segfault, METH_NOARGS, "crash" },
     { NULL, NULL, 0, NULL }