Sha256: 41fbd356458a9880451928d0d291a803ef77b34c4fdf2ecb0eaa728080d36e10

Contents?: true

Size: 359 Bytes

Versions: 3

Compression:

Stored size: 359 Bytes

Contents

#ifndef _TYPE_H
#define	_TYPE_H

#include <ruby.h>
#include <ffi.h>

#ifdef	__cplusplus
extern "C" {
#endif

    
typedef struct Type_ {
    NativeType nativeType;
    ffi_type* ffiType;
    int size;
    int alignment;
} Type;

extern VALUE rbffi_TypeClass;
extern int rbffi_Type_GetIntValue(VALUE type);


#ifdef	__cplusplus
}
#endif

#endif	/* _TYPE_H */

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
minilab-1.1.0-x86-mswin32-60 vendor/ffi-0.4.0-x86-mswin32/ext/ffi_c/Type.h
ffi-0.4.0-x86-mswin32 ext/ffi_c/Type.h
ffi-0.4.0 ext/ffi_c/Type.h