How to use the template.language.python26.voidptr_t function in template

To help you get started, we’ve selected a few template examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github arizvisa / syringe / template / language / python26.py View on Github external
class FileCache(pstruct.type):
    '''.pyc files'''
    _fields_ = [
        (r_long, 'magic'),
        (r_long, 'something'),
        (r_object, 'object'),
    ]

### python natural types
class voidptr_t(ptype.pointer_t): _object_ = ptype.undefined
class methods_t(parray.type): length, _object_ = 0, ptype.undefined

class destructor(voidptr_t): pass
class printfunc(voidptr_t): pass
class getattrfunc(voidptr_t): pass
class setattrfunc(voidptr_t): pass
class cmpfunc(voidptr_t): pass
class reprfunc(voidptr_t): pass
class hashfunc(voidptr_t): pass
class ternaryfunc(voidptr_t): pass
class getattrofunc(voidptr_t): pass
class setattrofunc(voidptr_t): pass
class inquiry(voidptr_t): pass
class richcmpfunc(voidptr_t): pass
class getiterfunc(voidptr_t): pass
class iternextfunc(voidptr_t): pass
class descrgetfunc(voidptr_t): pass
class descrsetfunc(voidptr_t): pass
class initproc(voidptr_t): pass
class allocfunc(voidptr_t): pass
class newfunc(voidptr_t): pass
github arizvisa / syringe / template / language / python26.py View on Github external
(r_long, 'magic'),
        (r_long, 'something'),
        (r_object, 'object'),
    ]

### python natural types
class voidptr_t(ptype.pointer_t): _object_ = ptype.undefined
class methods_t(parray.type): length, _object_ = 0, ptype.undefined

class destructor(voidptr_t): pass
class printfunc(voidptr_t): pass
class getattrfunc(voidptr_t): pass
class setattrfunc(voidptr_t): pass
class cmpfunc(voidptr_t): pass
class reprfunc(voidptr_t): pass
class hashfunc(voidptr_t): pass
class ternaryfunc(voidptr_t): pass
class getattrofunc(voidptr_t): pass
class setattrofunc(voidptr_t): pass
class inquiry(voidptr_t): pass
class richcmpfunc(voidptr_t): pass
class getiterfunc(voidptr_t): pass
class iternextfunc(voidptr_t): pass
class descrgetfunc(voidptr_t): pass
class descrsetfunc(voidptr_t): pass
class initproc(voidptr_t): pass
class allocfunc(voidptr_t): pass
class newfunc(voidptr_t): pass
class freefunc(voidptr_t): pass

class _long(pint.sint32_t): pass
class _unsigned_int(pint.uint32_t): pass
github arizvisa / syringe / template / language / python26.py View on Github external
class setattrfunc(voidptr_t): pass
class cmpfunc(voidptr_t): pass
class reprfunc(voidptr_t): pass
class hashfunc(voidptr_t): pass
class ternaryfunc(voidptr_t): pass
class getattrofunc(voidptr_t): pass
class setattrofunc(voidptr_t): pass
class inquiry(voidptr_t): pass
class richcmpfunc(voidptr_t): pass
class getiterfunc(voidptr_t): pass
class iternextfunc(voidptr_t): pass
class descrgetfunc(voidptr_t): pass
class descrsetfunc(voidptr_t): pass
class initproc(voidptr_t): pass
class allocfunc(voidptr_t): pass
class newfunc(voidptr_t): pass
class freefunc(voidptr_t): pass

class _long(pint.sint32_t): pass
class _unsigned_int(pint.uint32_t): pass
class Py_ssize_t(pint.uint32_t): pass
class PyObject(ptype.undefined): pass
class PyNumberMethods(methods_t): length = 0
class PySequenceMethods(methods_t): length = 0
class PyMappingMethods(methods_t): length = 0
class PyBufferProcs(methods_t): length = 0
class PyMethodDef(methods_t): length = 0
class PyMemberDef(methods_t): length = 0
class PyGetSetDef(methods_t): length = 0

class _typeobject(pstruct.type):
    def __init__(self, **attrs):
github arizvisa / syringe / template / language / python26.py View on Github external
class FileCache(pstruct.type):
    '''.pyc files'''
    _fields_ = [
        (r_long, 'magic'),
        (r_long, 'something'),
        (r_object, 'object'),
    ]

### python natural types
class voidptr_t(ptype.pointer_t): _object_ = ptype.undefined
class methods_t(parray.type): length, _object_ = 0, ptype.undefined

class destructor(voidptr_t): pass
class printfunc(voidptr_t): pass
class getattrfunc(voidptr_t): pass
class setattrfunc(voidptr_t): pass
class cmpfunc(voidptr_t): pass
class reprfunc(voidptr_t): pass
class hashfunc(voidptr_t): pass
class ternaryfunc(voidptr_t): pass
class getattrofunc(voidptr_t): pass
class setattrofunc(voidptr_t): pass
class inquiry(voidptr_t): pass
class richcmpfunc(voidptr_t): pass
class getiterfunc(voidptr_t): pass
class iternextfunc(voidptr_t): pass
class descrgetfunc(voidptr_t): pass
class descrsetfunc(voidptr_t): pass
class initproc(voidptr_t): pass
class allocfunc(voidptr_t): pass
class newfunc(voidptr_t): pass
class freefunc(voidptr_t): pass
github arizvisa / syringe / template / language / python26.py View on Github external
### python natural types
class voidptr_t(ptype.pointer_t): _object_ = ptype.undefined
class methods_t(parray.type): length, _object_ = 0, ptype.undefined

class destructor(voidptr_t): pass
class printfunc(voidptr_t): pass
class getattrfunc(voidptr_t): pass
class setattrfunc(voidptr_t): pass
class cmpfunc(voidptr_t): pass
class reprfunc(voidptr_t): pass
class hashfunc(voidptr_t): pass
class ternaryfunc(voidptr_t): pass
class getattrofunc(voidptr_t): pass
class setattrofunc(voidptr_t): pass
class inquiry(voidptr_t): pass
class richcmpfunc(voidptr_t): pass
class getiterfunc(voidptr_t): pass
class iternextfunc(voidptr_t): pass
class descrgetfunc(voidptr_t): pass
class descrsetfunc(voidptr_t): pass
class initproc(voidptr_t): pass
class allocfunc(voidptr_t): pass
class newfunc(voidptr_t): pass
class freefunc(voidptr_t): pass

class _long(pint.sint32_t): pass
class _unsigned_int(pint.uint32_t): pass
class Py_ssize_t(pint.uint32_t): pass
class PyObject(ptype.undefined): pass
class PyNumberMethods(methods_t): length = 0
class PySequenceMethods(methods_t): length = 0
class PyMappingMethods(methods_t): length = 0
github arizvisa / syringe / template / language / python26.py View on Github external
@pobject.define
class TYPE_FROZENSET(TYPE_SET): type = '>'

class FileCache(pstruct.type):
    '''.pyc files'''
    _fields_ = [
        (r_long, 'magic'),
        (r_long, 'something'),
        (r_object, 'object'),
    ]

### python natural types
class voidptr_t(ptype.pointer_t): _object_ = ptype.undefined
class methods_t(parray.type): length, _object_ = 0, ptype.undefined

class destructor(voidptr_t): pass
class printfunc(voidptr_t): pass
class getattrfunc(voidptr_t): pass
class setattrfunc(voidptr_t): pass
class cmpfunc(voidptr_t): pass
class reprfunc(voidptr_t): pass
class hashfunc(voidptr_t): pass
class ternaryfunc(voidptr_t): pass
class getattrofunc(voidptr_t): pass
class setattrofunc(voidptr_t): pass
class inquiry(voidptr_t): pass
class richcmpfunc(voidptr_t): pass
class getiterfunc(voidptr_t): pass
class iternextfunc(voidptr_t): pass
class descrgetfunc(voidptr_t): pass
class descrsetfunc(voidptr_t): pass
class initproc(voidptr_t): pass
github arizvisa / syringe / template / language / python26.py View on Github external
### python natural types
class voidptr_t(ptype.pointer_t): _object_ = ptype.undefined
class methods_t(parray.type): length, _object_ = 0, ptype.undefined

class destructor(voidptr_t): pass
class printfunc(voidptr_t): pass
class getattrfunc(voidptr_t): pass
class setattrfunc(voidptr_t): pass
class cmpfunc(voidptr_t): pass
class reprfunc(voidptr_t): pass
class hashfunc(voidptr_t): pass
class ternaryfunc(voidptr_t): pass
class getattrofunc(voidptr_t): pass
class setattrofunc(voidptr_t): pass
class inquiry(voidptr_t): pass
class richcmpfunc(voidptr_t): pass
class getiterfunc(voidptr_t): pass
class iternextfunc(voidptr_t): pass
class descrgetfunc(voidptr_t): pass
class descrsetfunc(voidptr_t): pass
class initproc(voidptr_t): pass
class allocfunc(voidptr_t): pass
class newfunc(voidptr_t): pass
class freefunc(voidptr_t): pass

class _long(pint.sint32_t): pass
class _unsigned_int(pint.uint32_t): pass
class Py_ssize_t(pint.uint32_t): pass
class PyObject(ptype.undefined): pass
class PyNumberMethods(methods_t): length = 0
class PySequenceMethods(methods_t): length = 0
github arizvisa / syringe / template / language / python26.py View on Github external
]

### python natural types
class voidptr_t(ptype.pointer_t): _object_ = ptype.undefined
class methods_t(parray.type): length, _object_ = 0, ptype.undefined

class destructor(voidptr_t): pass
class printfunc(voidptr_t): pass
class getattrfunc(voidptr_t): pass
class setattrfunc(voidptr_t): pass
class cmpfunc(voidptr_t): pass
class reprfunc(voidptr_t): pass
class hashfunc(voidptr_t): pass
class ternaryfunc(voidptr_t): pass
class getattrofunc(voidptr_t): pass
class setattrofunc(voidptr_t): pass
class inquiry(voidptr_t): pass
class richcmpfunc(voidptr_t): pass
class getiterfunc(voidptr_t): pass
class iternextfunc(voidptr_t): pass
class descrgetfunc(voidptr_t): pass
class descrsetfunc(voidptr_t): pass
class initproc(voidptr_t): pass
class allocfunc(voidptr_t): pass
class newfunc(voidptr_t): pass
class freefunc(voidptr_t): pass

class _long(pint.sint32_t): pass
class _unsigned_int(pint.uint32_t): pass
class Py_ssize_t(pint.uint32_t): pass
class PyObject(ptype.undefined): pass
class PyNumberMethods(methods_t): length = 0
github arizvisa / syringe / template / language / python26.py View on Github external
class voidptr_t(ptype.pointer_t): _object_ = ptype.undefined
class methods_t(parray.type): length, _object_ = 0, ptype.undefined

class destructor(voidptr_t): pass
class printfunc(voidptr_t): pass
class getattrfunc(voidptr_t): pass
class setattrfunc(voidptr_t): pass
class cmpfunc(voidptr_t): pass
class reprfunc(voidptr_t): pass
class hashfunc(voidptr_t): pass
class ternaryfunc(voidptr_t): pass
class getattrofunc(voidptr_t): pass
class setattrofunc(voidptr_t): pass
class inquiry(voidptr_t): pass
class richcmpfunc(voidptr_t): pass
class getiterfunc(voidptr_t): pass
class iternextfunc(voidptr_t): pass
class descrgetfunc(voidptr_t): pass
class descrsetfunc(voidptr_t): pass
class initproc(voidptr_t): pass
class allocfunc(voidptr_t): pass
class newfunc(voidptr_t): pass
class freefunc(voidptr_t): pass

class _long(pint.sint32_t): pass
class _unsigned_int(pint.uint32_t): pass
class Py_ssize_t(pint.uint32_t): pass
class PyObject(ptype.undefined): pass
class PyNumberMethods(methods_t): length = 0
class PySequenceMethods(methods_t): length = 0
class PyMappingMethods(methods_t): length = 0
class PyBufferProcs(methods_t): length = 0
github arizvisa / syringe / template / language / python26.py View on Github external
(r_long, 'something'),
        (r_object, 'object'),
    ]

### python natural types
class voidptr_t(ptype.pointer_t): _object_ = ptype.undefined
class methods_t(parray.type): length, _object_ = 0, ptype.undefined

class destructor(voidptr_t): pass
class printfunc(voidptr_t): pass
class getattrfunc(voidptr_t): pass
class setattrfunc(voidptr_t): pass
class cmpfunc(voidptr_t): pass
class reprfunc(voidptr_t): pass
class hashfunc(voidptr_t): pass
class ternaryfunc(voidptr_t): pass
class getattrofunc(voidptr_t): pass
class setattrofunc(voidptr_t): pass
class inquiry(voidptr_t): pass
class richcmpfunc(voidptr_t): pass
class getiterfunc(voidptr_t): pass
class iternextfunc(voidptr_t): pass
class descrgetfunc(voidptr_t): pass
class descrsetfunc(voidptr_t): pass
class initproc(voidptr_t): pass
class allocfunc(voidptr_t): pass
class newfunc(voidptr_t): pass
class freefunc(voidptr_t): pass

class _long(pint.sint32_t): pass
class _unsigned_int(pint.uint32_t): pass
class Py_ssize_t(pint.uint32_t): pass