A RetroSearch Logo

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

Search Query:

Showing content from https://github.com/gogoprog/libembindcefv8 below:

gogoprog/libembindcefv8: Bind C/C++ to emscripten embind or chromium embedded framework v8

libembindcefv8

Bind C/C++ to Javascript using emscripten embind or chromium embedded framework v8

How to use
#include "embindcefv8.h"

embindcefv8::Class<UserClass>("UserClass")
    .constructor()                              // expose the default constructor
    .constructor<int>()                         // expose the constructor with a integer parameter
    .property("aInt", &UserClass::aInt)         // expose a class attribute
    .method("aMethod", &UserClass::aMethod)     // expose a class method

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