summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/res
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1998-04-21 15:23:55 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1998-04-21 15:23:55 (GMT)
commit1c4e61462720b441467ab41c62d0c37143af45e7 (patch)
tree58e412cb39b322be47818a4c54341be163cf818b /Mac/Modules/res
parent02facaf90a39b0f2d3dafbca2ef17c8e8c678b10 (diff)
downloadcpython-1c4e61462720b441467ab41c62d0c37143af45e7.zip
cpython-1c4e61462720b441467ab41c62d0c37143af45e7.tar.gz
cpython-1c4e61462720b441467ab41c62d0c37143af45e7.tar.bz2
Re-generated from new (3.1) universal headers
Diffstat (limited to 'Mac/Modules/res')
-rw-r--r--Mac/Modules/res/Resmodule.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Mac/Modules/res/Resmodule.c b/Mac/Modules/res/Resmodule.c
index 879a887..45e16a6 100644
--- a/Mac/Modules/res/Resmodule.c
+++ b/Mac/Modules/res/Resmodule.c
@@ -108,14 +108,14 @@ static PyObject *ResObj_HomeResFile(_self, _args)
return _res;
}
-static PyObject *ResObj_LoadResource(_self, _args)
+static PyObject *ResObj_MacLoadResource(_self, _args)
ResourceObject *_self;
PyObject *_args;
{
PyObject *_res = NULL;
if (!PyArg_ParseTuple(_args, ""))
return NULL;
- LoadResource(_self->ob_itself);
+ MacLoadResource(_self->ob_itself);
{
OSErr _err = ResError();
if (_err != noErr) return PyMac_Error(_err);
@@ -437,7 +437,7 @@ static PyObject *ResObj_as_Menu(_self, _args)
static PyMethodDef ResObj_methods[] = {
{"HomeResFile", (PyCFunction)ResObj_HomeResFile, 1,
"() -> (short _rv)"},
- {"LoadResource", (PyCFunction)ResObj_LoadResource, 1,
+ {"MacLoadResource", (PyCFunction)ResObj_MacLoadResource, 1,
"() -> None"},
{"ReleaseResource", (PyCFunction)ResObj_ReleaseResource, 1,
"() -> None"},