blob: f1683eede96248ac495c2775f40397469b091f0c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/* Example of a C++ extension to icon via loadfunc,
* without garbage collection difficulties.
* Type 'make iexample' to build.
* Carl Sturtivant, 2008/3/16
*/
#include "loadfuncpp.h"
using namespace Icon;
extern "C" int dull(value argv[]) {
argv[0] = nullvalue;
return SUCCEEDED;
}
|