MCPcopy Create free account
hub / github.com/Tracktion/choc / main

Function main

examples/javascript_integration.cpp:262–283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260}
261
262int main()
263{
264 std::cout << "CHOC JavaScript Engine Integration Example\n";
265 std::cout << "==========================================\n";
266
267 try
268 {
269 demonstrateBasicJavaScript();
270 demonstrateNativeFunctionBinding();
271 demonstrateValueConversion();
272 demonstrateAdvancedFeatures();
273
274 std::cout << "\n=== All demonstrations completed successfully! ===\n";
275 }
276 catch (const std::exception& e)
277 {
278 std::cout << "Error: " << e.what() << "\n";
279 return 1;
280 }
281
282 return 0;
283}

Callers

nothing calls this directly

Calls 5

whatMethod · 0.80

Tested by

no test coverage detected