Permalink
Browse files

Fix endElementInline, CMakeLists.txt

- Fix endElementInline definition to match new function
- Set minimum cmake to be less strict 3.1
  • Loading branch information...
PMLavigne committed Dec 29, 2015
1 parent b50c7bd commit b9bbe23697201dae61fb69efea874415a8408d90
Showing with 4 additions and 4 deletions.
  1. +2 −2 CMakeLists.txt
  2. +2 −2 src/writer.h
View
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.4)
cmake_minimum_required(VERSION 3.1)
project(genx)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/node_modules/node-cmake)
@@ -13,4 +13,4 @@ set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-g -Wall")
file(GLOB SOURCE_FILES "src/*.cc" "src/*.h")
add_nodejs_module(${PROJECT_NAME} SHARED ${SOURCE_FILES})
target_compile_definitions(${PROJECT_NAME} PUBLIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE)
target_compile_definitions(${PROJECT_NAME} PUBLIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE)
View
@@ -96,8 +96,8 @@ class Writer: public Nan::ObjectWrap
static void EndElement(const Nan::FunctionCallbackInfo <v8::Value> &args);
void endElement(const Nan::FunctionCallbackInfo<v8::Value> &args);
static Handle<Value> EndElementInline(const Arguments& args);
genxStatus endElementInline();
static void EndElementInline(const Nan::FunctionCallbackInfo<v8::Value> &args);
void endElementInline(const Nan::FunctionCallbackInfo<v8::Value> &args);
private:
static utf8 createUtf8FromString(v8::Handle<v8::String> String);

0 comments on commit b9bbe23

Please sign in to comment.