return &ffi_type_float;
}
+template <>
+ffi_type *Primitive<long double>::GetFFI(CYPool &pool) const {
+ return &ffi_type_longdouble;
+}
+
template <>
ffi_type *Primitive<double>::GetFFI(CYPool &pool) const {
return &ffi_type_double;
}
#endif
+ffi_type *Enum::GetFFI(CYPool &pool) const {
+ return type.GetFFI(pool);
+}
+
ffi_type *Aggregate::GetFFI(CYPool &pool) const {
- // XXX: we can totally make overlap work
_assert(!overlap);
+ _assert(signature.count != _not(size_t));
ffi_type *ffi(new(pool) ffi_type());
ffi->size = 0;