macro_rules! pmc_entry_points {
( $pmc_defs:expr, $register_for_all_users:expr ) => { ... };
}Expand description
Generate PMC entry points
This macro creates the PMC module entry points for PMC registration, unregistration and object creation.
The macro takes two arguments:
- A slice of PMCInfo objects that contain the information required to register the PMCs
- A boolean that determines whether the PMCs are registered for all users or just the current user
ยงExample
See the example in the lib.rs file in the pmc module