What it shows

  • Calling into the optional C++ extension from Fun.

How to run

  • export FUN_LIB_DIR=”./lib”
  • ./build_debug/fun examples/cpp_add.fun
  • Or: fun examples/cpp_add.fun

Notes

  • Requires the optional C++ extension to be enabled in your build; otherwise this example may be unavailable.

Comments