summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/help
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-05-22 21:56:42 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-05-22 21:56:42 (GMT)
commitfa77e1a1b1ec479600a0f3a1dbc3faf28140d31f (patch)
tree405f4572ec550f86d0c2c2b3a84ca672f3a70520 /Mac/Modules/help
parent1129671350048d9f415d3ba3c411b9bcd8b7ae75 (diff)
downloadcpython-fa77e1a1b1ec479600a0f3a1dbc3faf28140d31f.zip
cpython-fa77e1a1b1ec479600a0f3a1dbc3faf28140d31f.tar.gz
cpython-fa77e1a1b1ec479600a0f3a1dbc3faf28140d31f.tar.bz2
Lots more Carbon/Carbon.h includes, new UPP routine names, function prototypes. Most toolbox modules now compile, link and import in MacOSX-MachO python.
Diffstat (limited to 'Mac/Modules/help')
-rw-r--r--Mac/Modules/help/Helpmodule.c62
1 files changed, 16 insertions, 46 deletions
diff --git a/Mac/Modules/help/Helpmodule.c b/Mac/Modules/help/Helpmodule.c
index 3a44632..3c26cda 100644
--- a/Mac/Modules/help/Helpmodule.c
+++ b/Mac/Modules/help/Helpmodule.c
@@ -12,9 +12,7 @@
static PyObject *Help_Error;
-static PyObject *Help_HMGetHelpMenuHandle(_self, _args)
- PyObject *_self;
- PyObject *_args;
+static PyObject *Help_HMGetHelpMenuHandle(PyObject *_self, PyObject *_args)
{
PyObject *_res = NULL;
OSErr _err;
@@ -28,9 +26,7 @@ static PyObject *Help_HMGetHelpMenuHandle(_self, _args)
return _res;
}
-static PyObject *Help_HMRemoveBalloon(_self, _args)
- PyObject *_self;
- PyObject *_args;
+static PyObject *Help_HMRemoveBalloon(PyObject *_self, PyObject *_args)
{
PyObject *_res = NULL;
OSErr _err;
@@ -43,9 +39,7 @@ static PyObject *Help_HMRemoveBalloon(_self, _args)
return _res;
}
-static PyObject *Help_HMIsBalloon(_self, _args)
- PyObject *_self;
- PyObject *_args;
+static PyObject *Help_HMIsBalloon(PyObject *_self, PyObject *_args)
{
PyObject *_res = NULL;
Boolean _rv;
@@ -57,9 +51,7 @@ static PyObject *Help_HMIsBalloon(_self, _args)
return _res;
}
-static PyObject *Help_HMGetBalloons(_self, _args)
- PyObject *_self;
- PyObject *_args;
+static PyObject *Help_HMGetBalloons(PyObject *_self, PyObject *_args)
{
PyObject *_res = NULL;
Boolean _rv;
@@ -71,9 +63,7 @@ static PyObject *Help_HMGetBalloons(_self, _args)
return _res;
}
-static PyObject *Help_HMSetBalloons(_self, _args)
- PyObject *_self;
- PyObject *_args;
+static PyObject *Help_HMSetBalloons(PyObject *_self, PyObject *_args)
{
PyObject *_res = NULL;
OSErr _err;
@@ -88,9 +78,7 @@ static PyObject *Help_HMSetBalloons(_self, _args)
return _res;
}
-static PyObject *Help_HMSetFont(_self, _args)
- PyObject *_self;
- PyObject *_args;
+static PyObject *Help_HMSetFont(PyObject *_self, PyObject *_args)
{
PyObject *_res = NULL;
OSErr _err;
@@ -105,9 +93,7 @@ static PyObject *Help_HMSetFont(_self, _args)
return _res;
}
-static PyObject *Help_HMSetFontSize(_self, _args)
- PyObject *_self;
- PyObject *_args;
+static PyObject *Help_HMSetFontSize(PyObject *_self, PyObject *_args)
{
PyObject *_res = NULL;
OSErr _err;
@@ -122,9 +108,7 @@ static PyObject *Help_HMSetFontSize(_self, _args)
return _res;
}
-static PyObject *Help_HMGetFont(_self, _args)
- PyObject *_self;
- PyObject *_args;
+static PyObject *Help_HMGetFont(PyObject *_self, PyObject *_args)
{
PyObject *_res = NULL;
OSErr _err;
@@ -138,9 +122,7 @@ static PyObject *Help_HMGetFont(_self, _args)
return _res;
}
-static PyObject *Help_HMGetFontSize(_self, _args)
- PyObject *_self;
- PyObject *_args;
+static PyObject *Help_HMGetFontSize(PyObject *_self, PyObject *_args)
{
PyObject *_res = NULL;
OSErr _err;
@@ -154,9 +136,7 @@ static PyObject *Help_HMGetFontSize(_self, _args)
return _res;
}
-static PyObject *Help_HMSetDialogResID(_self, _args)
- PyObject *_self;
- PyObject *_args;
+static PyObject *Help_HMSetDialogResID(PyObject *_self, PyObject *_args)
{
PyObject *_res = NULL;
OSErr _err;
@@ -171,9 +151,7 @@ static PyObject *Help_HMSetDialogResID(_self, _args)
return _res;
}
-static PyObject *Help_HMSetMenuResID(_self, _args)
- PyObject *_self;
- PyObject *_args;
+static PyObject *Help_HMSetMenuResID(PyObject *_self, PyObject *_args)
{
PyObject *_res = NULL;
OSErr _err;
@@ -191,9 +169,7 @@ static PyObject *Help_HMSetMenuResID(_self, _args)
return _res;
}
-static PyObject *Help_HMScanTemplateItems(_self, _args)
- PyObject *_self;
- PyObject *_args;
+static PyObject *Help_HMScanTemplateItems(PyObject *_self, PyObject *_args)
{
PyObject *_res = NULL;
OSErr _err;
@@ -214,9 +190,7 @@ static PyObject *Help_HMScanTemplateItems(_self, _args)
return _res;
}
-static PyObject *Help_HMGetDialogResID(_self, _args)
- PyObject *_self;
- PyObject *_args;
+static PyObject *Help_HMGetDialogResID(PyObject *_self, PyObject *_args)
{
PyObject *_res = NULL;
OSErr _err;
@@ -230,9 +204,7 @@ static PyObject *Help_HMGetDialogResID(_self, _args)
return _res;
}
-static PyObject *Help_HMGetMenuResID(_self, _args)
- PyObject *_self;
- PyObject *_args;
+static PyObject *Help_HMGetMenuResID(PyObject *_self, PyObject *_args)
{
PyObject *_res = NULL;
OSErr _err;
@@ -249,9 +221,7 @@ static PyObject *Help_HMGetMenuResID(_self, _args)
return _res;
}
-static PyObject *Help_HMGetBalloonWindow(_self, _args)
- PyObject *_self;
- PyObject *_args;
+static PyObject *Help_HMGetBalloonWindow(PyObject *_self, PyObject *_args)
{
PyObject *_res = NULL;
OSErr _err;
@@ -302,7 +272,7 @@ static PyMethodDef Help_methods[] = {
-void initHelp()
+void initHelp(void)
{
PyObject *m;
PyObject *d;