Mercurial > vba-clojure
view src/com/aurellem/gb/Gb.java @ 43:480951f6521d
add initial jni interface
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Tue, 06 Mar 2012 21:43:28 -0600 |
parents | |
children |
line wrap: on
line source
1 package com.aurellem.gb;3 import java.nio.ByteBuffer;6 public class Gb {9 public Gb(){}12 /**13 * Hello World! This is just to test the native interface.14 */15 public native void sayHello();17 /**18 * Run the emulator on a given rom19 * @param rom - the name of the rom.20 */21 public native void startEmulator(String rom);23 }