A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://raw.githubusercontent.com/charto/nbind-examples/master/1-headers.cc below:

#include #include // For nbind::cbFunction type. #include "nbind/api.h" class HeaderExample { public: static void callJS(nbind::cbFunction &callback) { std::cout << "JS says: " << callback.call (1, 2, 3); } }; // For NBIND_CLASS() and method() macros. #include "nbind/nbind.h" #ifdef NBIND_CLASS NBIND_CLASS(HeaderExample) { method(callJS); } #endif

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4