| [ Web Proxy ] |
| Viewing: https://raw.githubusercontent.com/masterhung0112/node-cpphello/master/cpphello.cpp | [Back] [Original] |
#include
#include
using namespace node;
using namespace v8;
static Handle foo(const Arguments& args)
{
return String::New("Hello World");
}
extern "C" void init(Handle target)
{
NODE_SET_METHOD(target, "foo", foo);
}
| Web Proxy Viewer | New URL | Original Page |