Skip to content
Snippets Groups Projects

Test/macos

Merged Georgy Moshkin requested to merge test/macos into master
Compare and Show latest version
9 files
+ 147
124
Compare changes
  • Side-by-side
  • Inline
Files
9
@@ -126,13 +126,13 @@ macro_rules! define_dlsym_reloc {
(
$(
$(#[$meta:meta])*
pub $(($where:ident))? fn $sym:ident ( $( $args:ident: $types:ty ),* $(,)? ) $( -> $ret:ty )?;
pub fn $sym:ident ( $( $args:ident: $types:ty ),* $(,)? ) $( -> $ret:ty )?;
)+
) => {
$(
$(#[$meta])*
#[inline(always)]
pub $(($where))? unsafe fn $sym($($args: $types),*) $(-> $ret)? {
pub unsafe fn $sym($($args: $types),*) $(-> $ret)? {
return RELOC_FN($($args),*);
type SymType = unsafe fn($($args: $types),*) $(-> $ret)?;
Loading