Remove cpplint namespace-related warnings

This commit is contained in:
Lovell Fuller
2015-01-09 16:33:14 +00:00
parent 67dc694cfb
commit 8e9a8dfede
4 changed files with 29 additions and 8 deletions

View File

@@ -8,7 +8,9 @@
#include "resize.h"
#include "utilities.h"
using namespace v8;
using v8::Handle;
using v8::Object;
using node::AtExit;
static void at_exit(void* arg) {
NanScope();
@@ -18,7 +20,7 @@ static void at_exit(void* arg) {
extern "C" void init(Handle<Object> target) {
NanScope();
vips_init("sharp");
node::AtExit(at_exit);
AtExit(at_exit);
// Set libvips operation cache limits
vips_cache_set_max_mem(100 * 1048576); // 100 MB