Module: FFI::Generator

Defined in:
lib/generator/enum.rb,
lib/generator/node.rb,
lib/generator/type.rb,
lib/generator/types.rb,
lib/generator/logger.rb,
lib/generator/parser.rb,
lib/generator/struct.rb,
lib/generator/constant.rb,
lib/generator/function.rb,
lib/generator/application.rb,
lib/generator/generatortask.rb

Defined Under Namespace

Modules: Logger Classes: Application, Callback, Constant, Enum, Function, Node, Parser, Struct, Task, Type, Union

Constant Summary collapse

TYPES =
{ 
  'char' => ':char',
  'double' => ':double',
  'float' => ':float',
  'unsigned long' => ':ulong',
  'unsigned char' => ':uchar',
  'signed char' => ':char',
  'unsigned char' => ':uchar',
  'short' => ':short',
  'signed short'     => ':short',
  'signed short int' => ':short',
  'unsigned short'     => ':ushort',
  'unsigned short int' => ':ushort',
  'int' => ':int',
  'signed int' => ':int',
  'unsigned int' => ':uint',
  'long' => ':long',
  'long int' => ':long',
  'signed long' => ':long',
  'signed long int' => ':long',
  'unsigned long' => ':ulong',
  'unsigned long int' => ':ulong',
  'long unsigned int' => ':ulong',
  'long long'     => ':long_long',
  'long long int' => ':long_long',
  'signed long long'     => ':long_long',
  'signed long long int' => ':long_long',
  'size_t' => ':uint',
  'unsigned long long'     => ':ulong_long',
  'unsigned long long int' => ':ulong_long',
  'void' => ':void'
}
NestedStructureNotSupported =
<<EOM
Nested structures are not correctly supported at the moment.
Please check the order of the declarations in the structure below.
EOM