# 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',
    )

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

def _generate():
  scalars = {}  

# Path: extgen/capi.py



# Path: extgen/scalar_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',
    )

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

def _generate():
  scalars = {}  

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