diff options
Diffstat (limited to 'Mac/Modules/htmlrender/htmlsupport.py')
-rw-r--r-- | Mac/Modules/htmlrender/htmlsupport.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Mac/Modules/htmlrender/htmlsupport.py b/Mac/Modules/htmlrender/htmlsupport.py index d4547ca..b8c7eec 100644 --- a/Mac/Modules/htmlrender/htmlsupport.py +++ b/Mac/Modules/htmlrender/htmlsupport.py @@ -143,8 +143,8 @@ class MyObjectDefinition(GlobalObjectDefinition): ## Output("if (v == Py_None) { *p_itself = NULL; return 1; }") ## Output("if (PyInt_Check(v)) { *p_itself = (DialogPtr)PyInt_AsLong(v);") ## Output(" return 1; }") -## def outputFreeIt(self, itselfname): -## Output("DisposeDialog(%s);", itselfname) + def outputFreeIt(self, itselfname): + Output("HRDisposeReference(%s);", itselfname) # Create the generator groups and link them module = MacModule('HtmlRender', 'Html', includestuff, finalstuff, initstuff) @@ -160,6 +160,9 @@ functions = [] methods = [] execfile("htmlgen.py") +f = Function(int, 'HRHTMLRenderingLibAvailable') +functions.append(f) + # add the populated lists to the generator groups for f in functions: module.add(f) for f in methods: object.add(f) |