summaryrefslogtreecommitdiffstats
path: root/rsapi/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--rsapi/src/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/rsapi/src/lib.rs b/rsapi/src/lib.rs
index f71e69f..d7b69a2 100644
--- a/rsapi/src/lib.rs
+++ b/rsapi/src/lib.rs
@@ -20,7 +20,8 @@ pub const ABI_VERSION: u32 = 1;
20/// Entry-point signature. `extern "C"` on the x86_64-unknown-uefi 20/// Entry-point signature. `extern "C"` on the x86_64-unknown-uefi
21/// target is the Win64 convention: the three arguments arrive in 21/// target is the Win64 convention: the three arguments arrive in
22/// RCX/RDX/R8 on both sides of the table. 22/// RCX/RDX/R8 on both sides of the table.
23pub type EntryPoint = extern "C" fn(exports: &'static Exports, argc: usize, argv: *const Arg) -> i32; 23pub type EntryPoint =
24 extern "C" fn(exports: &'static Exports, argc: usize, argv: *const Arg) -> i32;
24 25
25/// One C-style argv element: pointer + length (rs-dos strings are not 26/// One C-style argv element: pointer + length (rs-dos strings are not
26/// NUL-terminated in memory). 27/// NUL-terminated in memory).