# Path: extgen/capi.py



import numpy
from .capi import sctypebits
    clean_argument_converter = 'clean_pyobj_to_npy_unicode',
    return_format = 'O&',
    return_converter = 'pyobj_from_npy_unicode',
    require_numpy = True,
    argument_title = 'a python string (converting to C npy_unicode)',
    return_title = 'a numpy unicode',
    ),

numpy_void = dict(\
    ctype = 'PyVoidScalarObject*',
    init = ' = NULL',
    argument_format = 'O&',
    argument_converter = 'pyobj_to_numpy_void',
    return_format = 'N',
    require_numpy = True,
    argument_title = 'a python string (converting to C PyVoidScalarObject*)',
    return_title = 'a numpy void',
    ),

)

scalar['c_PY_LONG_LONG'] = scalar['c_long_long']
scalar['c_unsigned_PY_LONG_LONG'] = scalar['c_unsigned_long_long']
scalar['numpy_bool_'] = scalar['numpy_bool']
scalar['numpy_str_'] = scalar['numpy_str'] = scalar['numpy_string0'] \
                       = scalar['numpy_string_'] = scalar['numpy_string']
scalar['numpy_unicode0'] = scalar['numpy_unicode_'] = scalar['numpy_unicode']
scalar['npy_str'] = scalar['npy_string']
scalar['numpy_void0'] = scalar['numpy_void']


# Path: extgen/capi.py



# Path: extgen/type_rules.py
import numpy
from .capi import sctypebits

    clean_argument_converter = 'clean_pyobj_to_npy_unicode',
    return_format = 'O&',
    return_converter = 'pyobj_from_npy_unicode',
    require_numpy = True,
    argument_title = 'a python string (converting to C npy_unicode)',
    return_title = 'a numpy unicode',
    ),

numpy_void = dict(\
    ctype = 'PyVoidScalarObject*',
    init = ' = NULL',
    argument_format = 'O&',
    argument_converter = 'pyobj_to_numpy_void',
    return_format = 'N',
    require_numpy = True,
    argument_title = 'a python string (converting to C PyVoidScalarObject*)',
    return_title = 'a numpy void',
    ),

)

scalar['c_PY_LONG_LONG'] = scalar['c_long_long']
scalar['c_unsigned_PY_LONG_LONG'] = scalar['c_unsigned_long_long']
scalar['numpy_bool_'] = scalar['numpy_bool']
scalar['numpy_str_'] = scalar['numpy_str'] = scalar['numpy_string0'] \
                       = scalar['numpy_string_'] = scalar['numpy_string']
scalar['numpy_unicode0'] = scalar['numpy_unicode_'] = scalar['numpy_unicode']
scalar['npy_str'] = scalar['npy_string']
scalar['numpy_void0'] = scalar['numpy_void']


for Cls_name, bits_list in list(sctypebits.items()):