Module: FFI::NativeType

### Home Classes Methods

### In Files

- ext/ffi_c/ffi.c

### Files

- Makefile
- LICENSE
- compile
- configure
- depcomp
- stamp-vti
- install-sh
- libtool-version
- mdate-sh
- missing

### Class/Module Index

Quicksearch

- FFI
- FFI::AutoPointer
- FFI::AutoPointer::CallableReleaser
- FFI::AutoPointer::DefaultReleaser
- FFI::AutoPointer::Releaser
- FFI::ConstGenerator
- FFI::ConstGenerator::Constant
- FFI::Enum
- FFI::Enums
- FFI::Function
- FFI::FunctionType
- FFI::Generator
- FFI::Generator::Task
- FFI::IO
- FFI::LastError
- FFI::ManagedStruct
- FFI::MemoryPointer
- FFI::NativeType
- FFI::Platform
- FFI::PlatformError
- FFI::Pointer
- FFI::StrPtrConverter
- FFI::Struct
- FFI::Struct::InlineArray
- FFI::Struct::ManagedStructConverter
- FFI::StructByReference
- FFI::StructByValue
- FFI::StructGenerator
- FFI::StructGenerator::Field
- FFI::StructLayout
- FFI::StructLayout::Array
- FFI::StructLayout::Enum
- FFI::StructLayout::Field
- FFI::StructLayout::Function
- FFI::StructLayout::InnerStruct
- FFI::StructLayout::Mapped
- FFI::StructLayout::Number
- FFI::StructLayout::Pointer
- FFI::StructLayout::String
- FFI::StructLayoutBuilder
- FFI::Type
- FFI::Type::Builtin
- FFI::TypesGenerator
- FFI::Union
- FFI::VariadicInvoker

No matching classes.

# FFI::NativeType

This module defines constants for native (C) types.

## Native type constants

Native types are defined by constants :

- INT8, SCHAR, CHAR

- UINT8, UCHAR

- INT16, SHORT, SSHORT

- UINT16, USHORT

- INT32,, INT, SINT

- UINT32, UINT

- INT64, LONG_LONG, SLONG_LONG

- UINT64, ULONG_LONG

- LONG, SLONG

- ULONG

- FLOAT32, FLOAT

- FLOAT64, DOUBLE

- POINTER

- CALLBACK

- FUNCTION

- CHAR_ARRAY

- BOOL

- STRING (immutable string, nul terminated)

- STRUCT (struct-b-value param or result)

- ARRAY (array type definition)

- MAPPED (custom native type)

For function return type only :

- VOID

For function argument type only :

- BUFFER_IN

- BUFFER_OUT

- VARARGS (function takes a variable number of arguments)

All these constants are exported to {FFI} module prefixed with "TYPE_". They are objets from {FFI::Type::Builtin} class.

[Validate]

Generated with the Darkfish Rdoc Generator 2.