Mercurial > MadButterfly
comparison 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 |
comparison
equal
deleted
inserted
replaced
546:249bcbf07eb0 | 547:371690a166df |
---|---|
1 #include <stdio.h> | 1 #include <stdio.h> |
2 #include <v8.h> | |
2 | 3 |
4 using namespace v8; | |
5 | |
6 extern "C" void | |
7 init(Handle<Object> target) { | |
8 HandleScope scope; | |
9 | |
10 target->Set(String::New("Hello"), String::New("World")); | |
11 } |