write to fd
This commit is contained in:
17
cmd/plt-build/src/main/go/pltbuild.h
Normal file
17
cmd/plt-build/src/main/go/pltbuild.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#include <jni.h>
|
||||
|
||||
#include <string.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifndef _PLTBUILD_H
|
||||
#define _PLTBUILD_H
|
||||
|
||||
/*
|
||||
* moe/rosa/planterette/jni/GoFile#write(ILnet/java/String;)V
|
||||
*/
|
||||
JNIEXPORT void JNICALL Java_moe_rosa_planterette_jni_GoFile_write__ILnet_java_String_2(JNIEnv *, jobject, jint, jstring);
|
||||
|
||||
extern void planterette_write(int fd, char *str_p, size_t str_sz, uintptr_t *errno_p, char **err_str_p);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user