C Type Handlesはじめに
クラス概要
final
FFI\CType
/* 定数 */
public
const
int
FFI\CType::TYPE_VOID;
public
const
int
FFI\CType::TYPE_FLOAT;
public
const
int
FFI\CType::TYPE_DOUBLE;
public
const
int
FFI\CType::TYPE_LONGDOUBLE;
public
const
int
FFI\CType::TYPE_UINT8;
public
const
int
FFI\CType::TYPE_SINT8;
public
const
int
FFI\CType::TYPE_UINT16;
public
const
int
FFI\CType::TYPE_SINT16;
public
const
int
FFI\CType::TYPE_UINT32;
public
const
int
FFI\CType::TYPE_SINT32;
public
const
int
FFI\CType::TYPE_UINT64;
public
const
int
FFI\CType::TYPE_SINT64;
public
const
int
FFI\CType::TYPE_ENUM;
public
const
int
FFI\CType::TYPE_BOOL;
public
const
int
FFI\CType::TYPE_CHAR;
public
const
int
FFI\CType::TYPE_POINTER;
public
const
int
FFI\CType::TYPE_FUNC;
public
const
int
FFI\CType::TYPE_ARRAY;
public
const
int
FFI\CType::TYPE_STRUCT;
public
const
int
FFI\CType::ATTR_CONST;
public
const
int
FFI\CType::ATTR_INCOMPLETE_TAG;
public
const
int
FFI\CType::ATTR_VARIADIC;
public
const
int
FFI\CType::ATTR_INCOMPLETE_ARRAY;
public
const
int
FFI\CType::ATTR_VLA;
public
const
int
FFI\CType::ATTR_UNION;
public
const
int
FFI\CType::ATTR_PACKED;
public
const
int
FFI\CType::ATTR_MS_STRUCT;
public
const
int
FFI\CType::ATTR_GCC_STRUCT;
public
const
int
FFI\CType::ABI_DEFAULT;
public
const
int
FFI\CType::ABI_CDECL;
public
const
int
FFI\CType::ABI_FASTCALL;
public
const
int
FFI\CType::ABI_THISCALL;
public
const
int
FFI\CType::ABI_STDCALL;
public
const
int
FFI\CType::ABI_PASCAL;
public
const
int
FFI\CType::ABI_REGISTER;
public
const
int
FFI\CType::ABI_MS;
public
const
int
FFI\CType::ABI_SYSV;
public
const
int
FFI\CType::ABI_VECTORCALL;
/* メソッド */
public int getAlignment()
public FFI\CType getArrayElementType()
public int getArrayLength()
public int getAttributes()
public int getEnumKind()
public int getFuncABI()
public int getFuncParameterCount()
public FFI\CType getFuncParameterType(int
$index )public FFI\CType getFuncReturnType()
public int getKind()
public string getName()
public FFI\CType getPointerType()
public int getSize()
public array getStructFieldNames()
public int getStructFieldOffset(string
$name )public FFI\CType getStructFieldType(string
$name )定義済み定数
|