summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorMatt Mastracci <matthew@mastracci.com>2023-10-08 14:02:07 +0900
committerGitHub <noreply@github.com>2023-10-08 14:02:07 +0900
commit6cb5d8eb86fe205ad4f4411e20c206246ff25682 (patch)
tree51d8ec1d17cd617417a11562893cb914db59631a /ext
parenteffb5e1ce417e9b7f22adcdc598e9a5ec593f4a2 (diff)
fix(ext/ffi): use anybuffer for op_ffi_ptr_of (#20820)
Fixes #20817
Diffstat (limited to 'ext')
-rw-r--r--ext/ffi/repr.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ffi/repr.rs b/ext/ffi/repr.rs
index f3bf01310..201df343e 100644
--- a/ext/ffi/repr.rs
+++ b/ext/ffi/repr.rs
@@ -47,7 +47,7 @@ where
#[op2(fast)]
pub fn op_ffi_ptr_of<FP>(
state: &mut OpState,
- #[buffer] buf: *const u8,
+ #[anybuffer] buf: *const u8,
) -> Result<*mut c_void, AnyError>
where
FP: FfiPermissions + 'static,