def get_assorted_primitives_f10(cself):
     try:
         with CPyBoxedI16.fromPyOpt(CPyRecord.toPy(None, cself).o_sixteen) as py_obj:
             return py_obj.release_djinni_boxed()
     except Exception as _djinni_py_e:
         CPyException.setExceptionFromPy(_djinni_py_e)
         return ffi.NULL
Ejemplo n.º 2
0
 def get_my_record_f17(cself):
     try:
         with CPyBoxedI16.fromPyOpt(CPyRecord.toPy(None,
                                                   cself).test14) as py_obj:
             return py_obj.release_djinni_boxed()
     except Exception as _djinni_py_e:
         CPyException.setExceptionFromPy(_djinni_py_e)
         return ffi.NULL