Skip to content

Commit 03b9177

Browse files
committed
Update C signature of namespace resourcing
1 parent 132ba73 commit 03b9177

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ark/src/srcref.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ pub(crate) fn resource_loaded_namespaces() -> anyhow::Result<()> {
3636
}
3737

3838
#[harp::register]
39-
unsafe extern "C" fn ps_resource_namespaces(pkgs: SEXP) -> anyhow::Result<SEXP> {
39+
unsafe extern "C-unwind" fn ps_resource_namespaces(pkgs: SEXP) -> anyhow::Result<SEXP> {
4040
let pkgs: Vec<String> = RObject::view(pkgs).try_into()?;
4141
resource_namespaces(pkgs)?;
4242
Ok(harp::r_null())

0 commit comments

Comments
 (0)