summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2013-03-24 17:51:48 -0700
committerYukihiro "Matz" Matsumoto <[email protected]>2013-03-24 17:51:48 -0700
commit84161ed7934ee4c31d09150952e422688b591b9f (patch)
tree0cb336bec3c76dbc2bd16a85efac1cf8d0c6cb14
parent5974853ca630633a6b5200432aedeb5d1eba3b55 (diff)
parent6a6c26f530718cf086ae5c4da5a7641b2540019a (diff)
downloadmruby-84161ed7934ee4c31d09150952e422688b591b9f.tar.gz
mruby-84161ed7934ee4c31d09150952e422688b591b9f.zip
Merge pull request #1061 from nemerle/RData-type-constification
Changed the RData type field to 'const'
-rw-r--r--include/mruby/data.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mruby/data.h b/include/mruby/data.h
index 55405e994..6ddaebfaa 100644
--- a/include/mruby/data.h
+++ b/include/mruby/data.h
@@ -19,7 +19,7 @@ typedef struct mrb_data_type {
struct RData {
MRB_OBJECT_HEADER;
struct iv_tbl *iv;
- mrb_data_type *type;
+ const mrb_data_type *type;
void *data;
};