Skip to content

Commit a8c0e37

Browse files
committed
Fix for generate-bindings.sh and updates generated ffi bindings
1 parent 3f06bce commit a8c0e37

File tree

5 files changed

+688
-128
lines changed

5 files changed

+688
-128
lines changed

android-activity/generate-bindings.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ fi
88
while read ARCH && read TARGET ; do
99

1010
# --module-raw-line 'use '
11-
bindgen game-activity-ffi.h -o src/game-activity/ffi_$ARCH.rs \
11+
bindgen game-activity-ffi.h -o src/game_activity/ffi_$ARCH.rs \
1212
--blocklist-item 'JNI\w+' \
1313
--blocklist-item 'C?_?JNIEnv' \
1414
--blocklist-item '_?JavaVM' \
@@ -30,7 +30,7 @@ while read ARCH && read TARGET ; do
3030
-Igame-activity-csrc \
3131
--sysroot="$SYSROOT" --target=$TARGET
3232

33-
bindgen native-activity-ffi.h -o src/native-activity/ffi_$ARCH.rs \
33+
bindgen native-activity-ffi.h -o src/native_activity/ffi_$ARCH.rs \
3434
--blocklist-item 'JNI\w+' \
3535
--blocklist-item 'C?_?JNIEnv' \
3636
--blocklist-item '_?JavaVM' \

0 commit comments

Comments
 (0)