Skip to main content

nros_platform_export_net

Macro nros_platform_export_net 

Source
macro_rules! nros_platform_export_net {
    ($ty:ty) => { ... };
}
Expand description

Emit every nros_platform_tcp_* / nros_platform_udp_* / nros_platform_udp_mcast_* / nros_platform_socket_* / nros_platform_network_poll symbol declared in <nros/platform_net.h> by delegating to the corresponding trait method on $ty. The caller must implement PlatformTcp, PlatformUdp, PlatformUdpMulticast, PlatformSocketHelpers, and PlatformNetworkPoll.