38 lines
739 B
Markdown
38 lines
739 B
Markdown
---
|
|
layout: page
|
|
published: true
|
|
noToc: true
|
|
noComments: false
|
|
noDate: false
|
|
title: Fun - cpp_add.fun — overview
|
|
subtitle: Documentation for cpp_add.fun — overview
|
|
description: Documentation for cpp_add.fun — overview
|
|
permalink: /documentation/examples/cpp_add/
|
|
lang: en
|
|
tags:
|
|
- 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.
|