view nodejs/mbfly_njs.cc @ 547:371690a166df Android_Skia

Remove hello.c and initial plugin at mbfly_njs.cc
author Thinker K.F. Li <thinker@branda.to>
date Sat, 05 Jun 2010 22:29:22 +0800
parents 249bcbf07eb0
children f69b0814ef3c
line wrap: on
line source

#include <stdio.h>
#include <v8.h>

using namespace v8;

extern "C" void
init(Handle<Object> target) {
    HandleScope scope;

    target->Set(String::New("Hello"), String::New("World"));
}