source: trunk/essentials/dev-lang/python/Mac/Modules/cg/cgscan.py@ 3609

Last change on this file since 3609 was 3225, checked in by bird, 19 years ago

Python 2.5

File size: 2.5 KB
Line 
1# Scan an Apple header file, generating a Python file of generator calls.
2
3import sys
4import os
5from bgenlocations import TOOLBOXDIR, BGENDIR
6sys.path.append(BGENDIR)
7from scantools import Scanner_OSX
8
9LONG = "CoreGraphics"
10SHORT = "cg"
11OBJECTS = ("CGContextRef",
12 )
13# ADD object typenames here
14
15def main():
16 input = [
17 "CGContext.h",
18 ]
19 output = SHORT + "gen.py"