ext/rbs_extension/location.h in rbs-3.6.0.dev.1 vs ext/rbs_extension/location.h in rbs-3.6.0.pre.1

- old
+ new

@@ -8,12 +8,17 @@ * RBS::Location class * */ extern VALUE RBS_Location; typedef struct { + int start; + int end; +} rbs_loc_range; + +typedef struct { ID name; - range rg; + rbs_loc_range rg; } rbs_loc_entry; typedef unsigned int rbs_loc_entry_bitmap; // The flexible array always allocates, but it's okay. @@ -25,10 +30,10 @@ rbs_loc_entry entries[1]; } rbs_loc_children; typedef struct { VALUE buffer; - range rg; + rbs_loc_range rg; rbs_loc_children *children; // NULL when no children is allocated } rbs_loc; /** * Returns new RBS::Location object, with given buffer and range.