qse/ase/awk/jni.h

36 lines
1.0 KiB
C
Raw Normal View History

2006-08-02 15:03:49 +00:00
/*
2006-12-02 16:26:29 +00:00
* $Id: jni.h,v 1.14 2006-12-02 16:26:03 bacon Exp $
2006-08-02 15:03:49 +00:00
*/
2006-10-24 04:10:12 +00:00
#ifndef _ASE_AWK_JNI_H_
#define _ASE_AWK_JNI_H_
2006-08-02 15:03:49 +00:00
#include <jni.h>
#ifdef __cplusplus
extern "C" {
#endif
2006-11-27 15:11:14 +00:00
JNIEXPORT void JNICALL Java_ase_awk_Awk_open (JNIEnv* env, jobject obj);
JNIEXPORT void JNICALL Java_ase_awk_Awk_close (JNIEnv* env, jobject obj);
JNIEXPORT void JNICALL Java_ase_awk_Awk_parse (JNIEnv* env, jobject obj);
JNIEXPORT void JNICALL Java_ase_awk_Awk_run (JNIEnv* env, jobject obj);
2006-11-29 14:52:36 +00:00
JNIEXPORT jint JNICALL Java_ase_awk_Awk_addbfn (
2006-11-27 15:11:14 +00:00
JNIEnv* env, jobject obj, jstring name, jint min_args, jint max_args);
2006-11-29 14:52:36 +00:00
JNIEXPORT jint JNICALL Java_ase_awk_Awk_delbfn (
2006-11-29 02:39:10 +00:00
JNIEnv* env, jobject obj, jstring name);
2006-11-27 15:11:14 +00:00
JNIEXPORT jint JNICALL Java_ase_awk_Awk_setfilename (
2006-12-02 16:26:29 +00:00
JNIEnv* env, jobject obj, jlong runid, jstring name);
2006-11-27 15:11:14 +00:00
JNIEXPORT jint JNICALL Java_ase_awk_Awk_setofilename (
2006-12-02 16:26:29 +00:00
JNIEnv* env, jobject obj, jlong runid, jstring name);
JNIEXPORT jobject JNICALL Java_ase_awk_Awk_strtonum (
JNIEnv* env, jobject obj, jlong runid, jstring str);
2006-08-02 15:03:49 +00:00
#ifdef __cplusplus
}
#endif
#endif