nstdapi

Crates.ionstdapi
lib.rsnstdapi
version0.2.0
sourcesrc
created_at2023-02-03 01:24:15.009152
updated_at2023-07-14 14:24:53.773559
descriptionA helper crate for `nstd` providing manipulation of an item's ABI attributes.
homepage
repository
max_upload_size
id775312
size7,463
{asm!("nop");}}}% (RustEnthusiast)

documentation

README

nstdapi

A helper crate for nstd providing manipulation of an item.

Features

capi

  • Mark function definitions as #[no_mangle].
  • Set function ABIs to extern "C".
  • Mark static item definitions as #[no_mangle].
  • Set static item declaration ABIs to extern "C".
  • Mark structures, enumerations, and unions as #[repr(C)].

link

  • Implicitly enables capi.
  • Turn function definitions into function declarations.
  • Turn static item definitions into static item declarations.
Commit count: 0

cargo fmt