summaryrefslogtreecommitdiff
path: root/ipl/packs/loadfuncpp/examples/methodcall.cpp
blob: 0f131953e2b1eeb53110f05ba1a2ddc05d34c8b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

/* 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;

#include<cstdio>

extern "C" int iexample(int argc, value argv[]) {

 
    return SUCCEEDED;
}