From 6fe854f5fe64d96a7a05f9a3deeb7ce70cceee2e Mon Sep 17 00:00:00 2001 From: Volker Birk Date: Sun, 14 Jun 2015 17:44:20 +0200 Subject: [PATCH] ... --- src/gen_cpp_Message.ysl2 | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/gen_cpp_Message.ysl2 b/src/gen_cpp_Message.ysl2 index b496972..f111ec8 100644 --- a/src/gen_cpp_Message.ysl2 +++ b/src/gen_cpp_Message.ysl2 @@ -11,6 +11,8 @@ tstylesheet { || #include "org_pEp_jniadapter_«$jname».h" + `` apply "*[name(.)!='enum']", mode=entry with "class" call "CamelCase" with "text", "@name"; + } || } @@ -22,5 +24,15 @@ tstylesheet { || } + + template "*", mode=entry { + param "class"; + const "ctype" call "toC" with "type", "name(.)"; + || + JNIEXPORT jobject JNICALL Java_org_pEp_jniadapter_«$class»_getDir(JNIEnv *env, jobject obj) { + + } + || + } }