Sha256: ac4797e6c83eaa108cfc77c98588f746f1511b8c2b79e2f98ebc26b5d75dda3f
Contents?: true
Size: 886 Bytes
Versions: 3
Compression:
Stored size: 886 Bytes
Contents
/* File containing headers for Ruby ndtypes wrapper. * * Author: Sameer Deshmukh (@v0dro) */ #ifndef RUBY_NDTYPES_H #define RUBY_NDTYPES_H #if defined(__cplusplus) extern "C" { } /* satisfy cc-mode */ #endif #include "ruby.h" #include "ndtypes.h" /* Public interface for ndtypes. */ typedef struct NdtObject NdtObject; extern VALUE cNDTypes; int rb_ndtypes_check_type(VALUE obj); NdtObject * rb_ndtypes_get_ndt_object(VALUE obj); VALUE rb_ndtypes_make_ndt_object(NdtObject *ndt_p); VALUE rb_ndtypes_wrap_ndt_object(void); const ndt_t * rb_ndtypes_const_ndt(VALUE ndt); VALUE rb_ndtypes_move_subtree(VALUE src, ndt_t *t); VALUE rb_ndtypes_from_object(VALUE type); VALUE rb_ndtypes_set_error(ndt_context_t *ctx); VALUE rb_ndtypes_from_type(ndt_t *type); #define INT2BOOL(t) (t ? Qtrue : Qfalse) #if defined(__cplusplus) } /* extern "C" { */ #endif #endif /* RUBY_NDTYPES_H */
Version data entries
3 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ndtypes-0.2.0dev5 | ext/ruby_ndtypes/include/ruby_ndtypes.h |
ndtypes-0.2.0dev5 | ext/ruby_ndtypes/ruby_ndtypes.h |
ndtypes-0.2.0dev4 | ext/ruby_ndtypes/ruby_ndtypes.h |