Skip to content

Commit

Permalink
add unsafe
Browse files Browse the repository at this point in the history
  • Loading branch information
sunchao committed Feb 20, 2024
1 parent 051938c commit 8795709
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/parquet/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ pub extern "system" fn Java_org_apache_comet_parquet_Native_initColumnReader(
/// # Safety
/// This function is inheritly unsafe since it deals with raw pointers passed from JNI.
#[no_mangle]
pub extern "system" fn Java_org_apache_comet_parquet_Native_setDictionaryPage(
pub unsafe extern "system" fn Java_org_apache_comet_parquet_Native_setDictionaryPage(
e: JNIEnv,
_jclass: JClass,
handle: jlong,
Expand Down

0 comments on commit 8795709

Please sign in to comment.