summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorBlaž Hrastnik <[email protected]>2015-07-09 23:46:54 +0200
committerBlaž Hrastnik <[email protected]>2015-07-13 14:04:42 +0200
commitf962890a928b566c0f5ca7fdff5ef4ce19207e65 (patch)
tree232b194c8635db7561dc7a6d818026077e87eb90 /include
parentd0e67aada795620c2bce49db8c73e87718753614 (diff)
downloadmruby-f962890a928b566c0f5ca7fdff5ef4ce19207e65.tar.gz
mruby-f962890a928b566c0f5ca7fdff5ef4ce19207e65.zip
Implement Module#prepend.
Diffstat (limited to 'include')
-rw-r--r--include/mruby/class.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mruby/class.h b/include/mruby/class.h
index 9d5260a24..60310ae9d 100644
--- a/include/mruby/class.h
+++ b/include/mruby/class.h
@@ -16,6 +16,7 @@ struct RClass {
struct iv_tbl *iv;
struct kh_mt *mt;
struct RClass *super;
+ struct RClass *origin;
};
#define mrb_class_ptr(v) ((struct RClass*)(mrb_ptr(v)))