INNER CODE UNIT · Python
Platform
ecere/ecere-sdk · deps/libffi-3.4.4/generate-darwin-source-and-headers.py:10
class Platform(object):
pass
class i386_platform(Platform):
arch = 'i386'
prefix = "#ifdef __i386__\n\n"
suffix = "\n\n#endif"
src_dir = 'x86'
src_files = ['sysv.S', 'ffi.c', 'internal.h']
class x86_64_platform(Platform):
arch = 'x86_64'
prefix = "#ifdef __x86_64__\n\n"
suffix = "\n\n#endif"