Register a method to be exposed to javascript. All methods exposed to javascript through JSAPISimple must match the FB::CallMethodPtr function pointer type. Example: registerMethod( "toString", (CallMethodPtr)&JSAPISimple::callToString ); @code This matches the following definition: @code variant callToString(const std::vector<variant>& args);
Definition at line 80 of file JSAPISimple.cpp. |
Generated on 19 Jun 2013 for FireBreath by
1.6.1
Labels
