mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
bgen-generators now drop the python definition file straight in the
Lib:toolbox folder.
This commit is contained in:
parent
819fa1a794
commit
46d9e79de6
33 changed files with 114 additions and 29 deletions
|
@ -40,6 +40,9 @@ extern int GrafObj_Convert(PyObject *, GrafPtr *);
|
|||
extern PyObject *BMObj_New(BitMapPtr);
|
||||
extern int BMObj_Convert(PyObject *, BitMapPtr *);
|
||||
|
||||
extern PyObject *PMObj_New(PixMapHandle);
|
||||
extern int PMObj_Convert(PyObject *, PixMapHandle *);
|
||||
|
||||
extern PyObject *WinObj_WhichWindow(WindowPtr);
|
||||
|
||||
#include <Movies.h>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Generated from 'Sap:CodeWarrior7:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:Movies.h'
|
||||
# Generated from 'Sap:CW8 Gold:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:Movies.h'
|
||||
|
||||
f = Function(OSErr, 'EnterMovies',
|
||||
)
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
import addpack
|
||||
addpack.addpack(':tools:bgen:bgen')
|
||||
from scantools import Scanner
|
||||
from bgenlocations import TOOLBOXDIR
|
||||
|
||||
LONG = "QuickTime"
|
||||
SHORT = "qt"
|
||||
|
@ -11,7 +12,7 @@ OBJECTS = ("Movie", "Track", "Media", "UserData", "TimeBase", "MovieController")
|
|||
def main():
|
||||
input = "Movies.h"
|
||||
output = SHORT + "gen.py"
|
||||
defsoutput = LONG + ".py"
|
||||
defsoutput = TOOLBOXDIR + LONG + ".py"
|
||||
scanner = MyScanner(input, output, defsoutput)
|
||||
scanner.scan()
|
||||
scanner.close()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue