Skip to content

Commit 4e98ed0

Browse files
committed
Add missing declarations for TokenKind.
1 parent e10096c commit 4e98ed0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

langkit/templates/java_api/jni_impl_c.mako

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ void * PointerWrapper_unwrap(JNIEnv *, jobject);
3636
${exception_type} LangkitException_new_value();
3737
jthrowable LangkitException_wrap(JNIEnv *, ${exception_type});
3838

39+
${token_kind} TokenKind_new_value();
40+
jobject TokenKind_wrap(JNIEnv *, ${token_kind});
41+
${token_kind} TokenKind_unwrap(JNIEnv *, jobject);
42+
3943
% for enum_type in ctx.enum_types:
4044
${enum.jni_c_decl(enum_type)}
4145
% endfor

0 commit comments

Comments
 (0)