mirror of
https://git.proxmox.com/git/perlmod
synced 2025-10-04 22:07:05 +00:00
doc updates
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
cd52146822
commit
a87395e67f
@ -65,6 +65,11 @@ pub struct Interpreter {
|
|||||||
_ffi: usize,
|
_ffi: usize,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Build perl-compatible functions and fn types (`pTHX` macro equivalent).
|
||||||
|
///
|
||||||
|
/// Takes an `extern "C" fn` (with or without body) and potentially inserts the a
|
||||||
|
/// `*const Interpreter` as first parameter depending on the perl configuration, so it can be used
|
||||||
|
/// for xsub implementations.
|
||||||
#[macro_export]
|
#[macro_export]
|
||||||
macro_rules! perl_fn {
|
macro_rules! perl_fn {
|
||||||
// inherited visibility
|
// inherited visibility
|
||||||
|
Loading…
Reference in New Issue
Block a user