Skip to content

Commit cbfb5fa

Browse files
committed
FFI: Rename portablemc-c to portablemc-ffi
1 parent 81036cc commit cbfb5fa

13 files changed

Lines changed: 4 additions & 3 deletions

File tree

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
2-
name = "portablemc-c"
3-
description = "Bindings to PortableMC for C language."
2+
name = "portablemc-ffi"
3+
description = "Bindings to PortableMC for C language, and more in the future."
44
edition.workspace = true
55
version.workspace = true
66
authors.workspace = true
@@ -23,5 +23,6 @@ serde_json.workspace = true
2323
tempfile.workspace = true
2424

2525
[lib]
26+
# Named like this to avoid collision with portablemc, it's renamed by deploy workflow.
2627
name = "portablemc_ffi"
2728
crate-type = ["staticlib", "cdylib"]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ pub trait IntoExternErr {
125125
}
126126

127127
/// If this result is an error, then the error is extracted and moved into an extern
128-
/// error, using [`extern_err`], and written in the pointer. Note that if the pointer
128+
/// error, using `extern_err`, and written in the pointer. Note that if the pointer
129129
/// of the error is not null, then it is freed anyway, error or not.
130130
#[inline]
131131
pub fn extern_err_catch<T, E, F>(err_ptr: *mut *mut raw::pmc_err, func: F) -> Option<T>

0 commit comments

Comments
 (0)