27 lines
606 B
Markdown
27 lines
606 B
Markdown
---
|
|
layout: page
|
|
published: true
|
|
noToc: false
|
|
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:
|
|
- cpp_add
|
|
- example
|
|
---
|
|
|
|
|
|
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.
|