Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * EMBIND file generated for ../emscriptentest/mathdemo/docs/xml/classKMath.xml.
- * File was automatically generated by /home/kyle/Documents/embindcreator/embindcreator.js.
- * See that file for more information.
- */
- #include <emscripten/bind.h>
- using namespace emscripten;
- //////// KMath ////////
- #include "kmath.h"
- EMSCRIPTEN_BINDINGS(KMath_bindings) {
- class_<KMath>("KMath")
- .constructor()
- //TODO: handleSectionDef
- //TODO: handleSectionDef
- .function("setA", &KMath::setA)//line: line="20"
- .function("setB", &KMath::setB)//line: line="21"
- .function("getA", &KMath::getA)//line: line="22"
- .function("getB", &KMath::getB)//line: line="23"
- .function("kpow", &KMath::kpow)//line: line="25"
- .function("kmult", &KMath::kmult)//line: line="26"
- .function("kdiv", &KMath::kdiv)//line: line="27"
- .function("kadd", &KMath::kadd)//line: line="28"
- .function("kminus", &KMath::kminus)//line: line="29"
- // locationFile: file="/home/kyle/Documents/emscriptentest/mathdemo/include/kmath.h" at line: line="14"
- ;
- }
- //////// END DEFINITION FOR KMath ////////
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement