Ignore:
Timestamp:
Jul 9, 2020, 8:51:43 AM (4 years ago)
Author:
coas-nagasima
Message:

mrubyを2.1.1に更新

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 structures
     1/**
     2** @file mruby/istruct.h - Inline structures
    33**
    44** See Copyright Notice in mruby.h
     
    2020#define ISTRUCT_DATA_SIZE (sizeof(void*) * 3)
    2121
    22 struct RIstruct {
     22struct RIStruct {
    2323  MRB_OBJECT_HEADER;
    2424  char inline_data[ISTRUCT_DATA_SIZE];
    2525};
    2626
    27 #define RISTRUCT(obj)         ((struct RIstruct*)(mrb_ptr(obj)))
     27#define RISTRUCT(obj)         ((struct RIStruct*)(mrb_ptr(obj)))
    2828#define ISTRUCT_PTR(obj)      (RISTRUCT(obj)->inline_data)
    2929
Note: See TracChangeset for help on using the changeset viewer.