Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
filename: *const i8,
proto: *const i8,
flags: u32,
- );
+ ) -> *mut CV;
pub fn RSPL_SvNV(sv: *mut SV) -> f64;
pub fn RSPL_SvIV(sv: *mut SV) -> isize;
croak_sv(sv);
}
-extern void RSPL_newXS_flags(
+extern CV* RSPL_newXS_flags(
const char *name,
void *subaddr,
const char *const filename,
const char *const proto,
uint32_t flags
) {
- newXS_flags(name, subaddr, filename, proto, flags);
+ return newXS_flags(name, subaddr, filename, proto, flags);
}
extern double RSPL_SvNV(SV *sv) {