Changeset 439 for EcnlProtoTool/trunk/mruby-2.1.1/include/mruby/istruct.h
- Timestamp:
- Jul 9, 2020, 8:51:43 AM (4 years ago)
- Location:
- EcnlProtoTool/trunk/mruby-2.1.1
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
EcnlProtoTool/trunk/mruby-2.1.1/include/mruby/istruct.h
r331 r439 1 /* 2 ** mruby/istruct.h - Inline structures1 /** 2 ** @file mruby/istruct.h - Inline structures 3 3 ** 4 4 ** See Copyright Notice in mruby.h … … 20 20 #define ISTRUCT_DATA_SIZE (sizeof(void*) * 3) 21 21 22 struct RI struct {22 struct RIStruct { 23 23 MRB_OBJECT_HEADER; 24 24 char inline_data[ISTRUCT_DATA_SIZE]; 25 25 }; 26 26 27 #define RISTRUCT(obj) ((struct RI struct*)(mrb_ptr(obj)))27 #define RISTRUCT(obj) ((struct RIStruct*)(mrb_ptr(obj))) 28 28 #define ISTRUCT_PTR(obj) (RISTRUCT(obj)->inline_data) 29 29
Note:
See TracChangeset
for help on using the changeset viewer.