1
0
Fork 0
forked from fun/fun
fun/web/documentation/examples/cpp_add.md

739 B

layout published noToc noComments noDate title subtitle description permalink lang tags
page true true false false Fun - cpp_add.fun — overview Documentation for cpp_add.fun — overview Documentation for cpp_add.fun — overview /documentation/examples/cpp_add/ en
documentation
handbook
installation
usage
introduction
help
guide
howto
docs
specifications
specs
repl

cpp_add.fun — overview

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.