Skip to content

Commit 0cefc92

Browse files
register on_binding attribute
Signed-off-by: Nikolaj Bjorner <[email protected]>
1 parent d57dd6e commit 0cefc92

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/api/java/NativeStatic.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ struct JavaInfo {
9292
jmethodID eq = nullptr;
9393
jmethodID final = nullptr;
9494
jmethodID decide = nullptr;
95+
jmethodID on_binding = nullptr;
9596

9697
Z3_solver_callback cb = nullptr;
9798
};
@@ -173,6 +174,7 @@ DLL_VIS JNIEXPORT jlong JNICALL Java_com_microsoft_z3_Native_propagateInit(JNIEn
173174
info->eq = jenv->GetMethodID(jcls, "eqWrapper", "(JJ)V");
174175
info->final = jenv->GetMethodID(jcls, "finWrapper", "()V");
175176
info->decide = jenv->GetMethodID(jcls, "decideWrapper", "(JIZ)V");
177+
info->on_binding = jenv->GetMethodID(jcls, "onBindingWrapper", "(JIZ)V");
176178

177179
if (!info->push || !info->pop || !info->fresh || !info->created || !info->fixed || !info->eq || !info->final || !info->decide) {
178180
assert(false);

0 commit comments

Comments
 (0)