Mercurial > vba-clojure
view 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 |
line wrap: on
line source
1 #include "com_aurellem_gb_Gb.h"3 #define UNUSED(x) (void)(x)6 /*7 * Class: com_aurellem_gb_Gb8 * Method: sayHello9 * Signature: ()V10 */11 JNIEXPORT void JNICALL Java_com_aurellem_gb_Gb_sayHello12 (JNIEnv *env, jclass clazz){13 UNUSED(env);UNUSED(clazz);14 printf("Hello from GB\n");15 }17 /*18 * Class: com_aurellem_gb_Gb19 * Method: startEmulator20 * Signature: (Ljava/lang/String;)V21 */22 JNIEXPORT void JNICALL Java_com_aurellem_gb_Gb_startEmulator23 (JNIEnv *env, jclass clazz, jstring str){24 UNUSED(env);UNUSED(clazz);UNUSED(str);25 }