Skip to content

Commit

Permalink
apply cpplint to sax_parser.cc and sax_parser.h
Browse files Browse the repository at this point in the history
  • Loading branch information
sprsquish committed Oct 4, 2009
1 parent 1b920d5 commit 5284dfe
Show file tree
Hide file tree
Showing 3 changed files with 308 additions and 364 deletions.
9 changes: 5 additions & 4 deletions src/libxmljs.h
Expand Up @@ -29,10 +29,11 @@
v8::String::New(err)); \
ThrowException(exception);

#define LIBXMLJS_ARGUMENT_TYPE_CHECK(arg, type, err) \
if (!arg->type()) { \
Local<Value> exception = Exception::TypeError(String::New(err)); \
return ThrowException(exception); \
#define LIBXMLJS_ARGUMENT_TYPE_CHECK(arg, type, err) \
if (!arg->type()) { \
v8::Local<v8::Value> exception = v8::Exception::TypeError( \
v8::String::New(err)); \
return v8::ThrowException(exception); \
}

#define BUILD_NODE(klass, type, name, node) \
Expand Down

0 comments on commit 5284dfe

Please sign in to comment.