ONIG_CALLOUT_DIRECTION_RETRACTION = 1,
};
+enum {
+ ONIG_CALLOUT_BY_CODE = 0,
+ ONIG_CALLOUT_BY_NAME = 1,
+};
+
typedef struct {
int direction;
+ int by;
int id;
const OnigUChar* content;
const OnigUChar* content_end;
#define CALLOUT_CODE_BODY(func, dir, sid, cstart, cend, user, args, result) do { \
args.direction = dir;\
+ args.by = ONIG_CALLOUT_BY_CODE;\
args.id = sid;\
args.content = cstart;\
args.content_end = cend;\
/* Synchronize visible part of the type with OnigCalloutArgs */
typedef struct {
int direction;
+ int by;
int id;
const OnigUChar* content;
const OnigUChar* content_end;