Function fbinit::assume_init

source ·
pub const unsafe fn assume_init() -> FacebookInit
Expand description

Produces a proof that initFacebook has been called, without actually calling initFacebook.

Safety

This is unsafe! You must know somehow that fbinit::main has been used or the init was performed already by C++.