1
0
forked from GitHub/gf-core

use gu_string_buf_data in the Java binding to avoid double copying of strings

This commit is contained in:
krasimir
2017-04-13 13:21:32 +00:00
parent 9aeb45e1cc
commit e650b9c5fc
3 changed files with 41 additions and 19 deletions

View File

@@ -7,6 +7,9 @@
jstring
gu2j_string(JNIEnv *env, GuString s);
jstring
gu2j_string_buf(JNIEnv *env, GuStringBuf* sbuf);
GuString
j2gu_string(JNIEnv *env, jstring s, GuPool* pool);