rawtypes.interpreted_types.definition module¶

- class rawtypes.interpreted_types.definition.TypedefType(name: str, base: rawtypes.interpreted_types.basetype.BaseType, is_const: bool = False)¶
- ベースクラス: - rawtypes.interpreted_types.basetype.BaseType- is_function_pointer() bool¶
 - property ctypes_type: str¶
- python type for ctypes.Structure fields 
 - py_param(name: str, default_value: str, pyi: bool) str¶
- python type with name for a pyi function param - use pyi_types. 
 - cpp_from_py(indent: str, i: int, default_value: str) str¶
- PyObject* から c/c++ の値を取り出す 
 - cpp_to_py(value: str) str¶
- c/c++ の値から PyObject* を作る 
 
- class rawtypes.interpreted_types.definition.StructType(name: str, cursor: rawtypes.clang.cindex.Cursor, is_const=False, wrap_type: Optional[rawtypes.parser.struct_cursor.WrapFlags] = None)¶
- ベースクラス: - rawtypes.interpreted_types.basetype.BaseType- to_struct_cursor(cursors: Tuple[rawtypes.clang.cindex.Cursor, ...]) rawtypes.parser.struct_cursor.StructCursor¶
 - property ctypes_type: str¶
- python type for ctypes.Structure fields 
 - cpp_from_py(indent: str, i: int, default_value: str) str¶
- PyObject* から c/c++ の値を取り出す 
 - cpp_call_name(i: int)¶
 - cpp_to_py(value: str) str¶
- c/c++ の値から PyObject* を作る 
 
- class rawtypes.interpreted_types.definition.EnumType(name: str)¶
- ベースクラス: - rawtypes.interpreted_types.basetype.BaseType- property ctypes_type: str¶
- python type for ctypes.Structure fields 
 - property pyi_types: Tuple[str]¶
- rename python type for avoid language-server error - ex: ctypes.c_int32 => int