Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2013
271
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.08 KB | None | 0 0
  1. /**
  2.  * EMBIND file generated for ../emscriptentest/mathdemo/docs/xml/classKMath.xml.
  3.  * File was automatically generated by /home/kyle/Documents/embindcreator/embindcreator.js.
  4.  * See that file for more information.
  5.  */
  6.  
  7. #include <emscripten/bind.h>
  8.  
  9. using namespace emscripten;
  10.  
  11. //////// KMath ////////
  12.  
  13. #include "kmath.h"
  14.  
  15. EMSCRIPTEN_BINDINGS(KMath_bindings) {
  16.     class_<KMath>("KMath")
  17.         .constructor()
  18. //TODO: handleSectionDef
  19. //TODO: handleSectionDef
  20.         .function("setA", &KMath::setA)//line: line="20"
  21.         .function("setB", &KMath::setB)//line: line="21"
  22.         .function("getA", &KMath::getA)//line: line="22"
  23.         .function("getB", &KMath::getB)//line: line="23"
  24.         .function("kpow", &KMath::kpow)//line: line="25"
  25.         .function("kmult", &KMath::kmult)//line: line="26"
  26.         .function("kdiv", &KMath::kdiv)//line: line="27"
  27.         .function("kadd", &KMath::kadd)//line: line="28"
  28.         .function("kminus", &KMath::kminus)//line: line="29"
  29. // locationFile:  file="/home/kyle/Documents/emscriptentest/mathdemo/include/kmath.h" at line:  line="14"
  30.         ;
  31. }
  32. //////// END DEFINITION FOR KMath ////////
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement