ext/ox/sax.h in ox-2.10.0 vs ext/ox/sax.h in ox-2.10.1
- old
+ new
@@ -1,40 +1,40 @@
/* sax.h
* Copyright (c) 2011, Peter Ohler
* All rights reserved.
*/
-#ifndef __OX_SAX_H__
-#define __OX_SAX_H__
+#ifndef OX_SAX_H
+#define OX_SAX_H
#include <stdbool.h>
#include "sax_buf.h"
#include "sax_has.h"
#include "sax_stack.h"
#include "sax_hint.h"
#include "ox.h"
-typedef struct _SaxOptions {
+typedef struct _saxOptions {
int symbolize;
int convert_special;
int smart;
SkipMode skip;
char strip_ns[64];
Hints hints;
} *SaxOptions;
-typedef struct _SaxDrive {
- struct _Buf buf;
- struct _NStack stack; /* element name stack */
+typedef struct _saxDrive {
+ struct _buf buf;
+ struct _nStack stack; /* element name stack */
VALUE handler;
VALUE value_obj;
- struct _SaxOptions options;
+ struct _saxOptions options;
int err;
int blocked;
bool abort;
- struct _Has has;
+ struct _has has;
#if HAS_ENCODING_SUPPORT
rb_encoding *encoding;
#elif HAS_PRIVATE_ENCODING
VALUE encoding;
#else
@@ -50,6 +50,6 @@
extern VALUE ox_sax_value_class;
extern VALUE str2sym(SaxDrive dr, const char *str, const char **strp);
-#endif /* __OX_SAX_H__ */
+#endif /* OX_SAX_H */