Rosetta
Functions
pp Namespace Reference

Functions

Module * CreateModule ()
 

Function Documentation

◆ CreateModule()

Module* pp::CreateModule ( )

Factory function called by the browser when the module is first loaded. The browser keeps a singleton of this module. It calls the CreateInstance() method on the object you return to make instances. There is one instance per <embed> tag on the page. This is the main binding point for your NaCl module with the browser.

Returns
new RosettaModule.
Note
The browser is responsible for deleting returned Module.