Commit f41e01c3 by Konstantin Käfer

rename to macros.h

parent 035e7c90
......@@ -17,7 +17,7 @@
#include <node.h>
#include <node_events.h>
#include "sqlite3_bindings.h"
#include "macros.h"
#include "database.h"
#include "statement.h"
......
......@@ -12,8 +12,8 @@
// ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
// OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#ifndef DATABASE_H
#define DATABASE_H
#ifndef NODE_SQLITE3_SRC_DATABASE_H
#define NODE_SQLITE3_SRC_DATABASE_H
#include <v8.h>
#include <node.h>
......
......@@ -12,8 +12,8 @@
// ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
// OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#ifndef SQLITE3_BINDINGS_H
#define SQLITE3_BINDINGS_H
#ifndef NODE_SQLITE3_SRC_MACROS_H
#define NODE_SQLITE3_SRC_MACROS_H
#define CHECK(rc) { if ((rc) != SQLITE_OK) \
return ThrowException(Exception::Error(String::New( \
......
......@@ -16,7 +16,6 @@
#include <node.h>
#include <node_events.h>
#include "sqlite3_bindings.h"
#include "database.h"
#include "statement.h"
......
......@@ -20,7 +20,7 @@ extern "C" {
#include "database.h"
#include "statement.h"
#include "sqlite3_bindings.h"
#include "macros.h"
static Persistent<String> callback_sym;
Persistent<FunctionTemplate> Statement::constructor_template;
......
......@@ -12,8 +12,8 @@
// ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
// OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#ifndef STATEMENT_H
#define STATEMENT_H
#ifndef NODE_SQLITE3_SRC_STATEMENT_H
#define NODE_SQLITE3_SRC_STATEMENT_H
#include <v8.h>
#include <node.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment