comparison src/clojure/clojure.c @ 48:75349da4c344

clojure hello world works
author Robert McIntyre <rlm@mit.edu>
date Wed, 07 Mar 2012 00:36:53 -0600
parents b1969e1b310d
children
comparison
equal deleted inserted replaced
47:efa68261dba1 48:75349da4c344
1 #include "com_aurellem_gb_Gb.h" 1 #include "com_aurellem_gb_Gb.h"
2 2
3 #define UNUSED(x) (void)(x)
3 4
4 5
6 /*
7 * Class: com_aurellem_gb_Gb
8 * Method: sayHello
9 * Signature: ()V
10 */
11 JNIEXPORT void JNICALL Java_com_aurellem_gb_Gb_sayHello
12 (JNIEnv *env, jclass clazz){
13 UNUSED(env);UNUSED(clazz);
14 printf("Hello from GB\n");
15 }
5 16
17 /*
18 * Class: com_aurellem_gb_Gb
19 * Method: startEmulator
20 * Signature: (Ljava/lang/String;)V
21 */
22 JNIEXPORT void JNICALL Java_com_aurellem_gb_Gb_startEmulator
23 (JNIEnv *env, jclass clazz, jstring str){
24 UNUSED(env);UNUSED(clazz);UNUSED(str);
25 }
6 26
7