ext/ox/ox.h in ox-2.6.0 vs ext/ox/ox.h in ox-2.7.0

- old
+ new

@@ -85,14 +85,16 @@ No = 'n', NotSet = 0 } YesNo; typedef enum { - ObjMode = 'o', - GenMode = 'g', - LimMode = 'l', - NoMode = 0 + ObjMode = 'o', + GenMode = 'g', + LimMode = 'l', + HashMode = 'h', + HashNoAttrMode = 'n', + NoMode = 0 } LoadMode; typedef enum { NoSkip = 'n', CrSkip = 'r', @@ -107,9 +109,10 @@ void (*add_comment)(PInfo pi, const char *comment); void (*add_cdata)(PInfo pi, const char *cdata, size_t len); void (*add_text)(PInfo pi, char *text, int closed); void (*add_element)(PInfo pi, const char *ename, Attr attrs, int hasChildren); void (*end_element)(PInfo pi, const char *ename); + void (*finish)(PInfo pi); } *ParseCallbacks; typedef struct _CircArray { VALUE obj_array[1024]; VALUE *objs;