1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/spec/ruby/optional/capi/ext/basic_object_spec.c
2020-03-28 00:22:51 +01:00

19 lines
391 B
C

#include "ruby.h"
#include "rubyspec.h"
#ifdef __cplusplus
extern "C" {
#endif
static VALUE basic_object_spec_RBASIC_CLASS(VALUE self, VALUE obj) {
return RBASIC_CLASS(obj);
}
void Init_basic_object_spec(void) {
VALUE cls = rb_define_class("CApiBasicObjectSpecs", rb_cObject);
rb_define_method(cls, "RBASIC_CLASS", basic_object_spec_RBASIC_CLASS, 1);
}
#ifdef __cplusplus
}
#endif