Debian Codegraph @

ipl/packs/loadfuncpp/examples/callicon.cpp

raw
1
2 /* Example of a C++ extension to icon via loadfunc,
3 * without garbage collection difficulties.
4 * Type 'make <platform>' to build.
5 * For available <platform>s type 'make'.
6 * Carl Sturtivant, 2007/9/25
7 */
8
9 #include "loadfuncpp.h"
10
11
12
13 extern "C" int iexample(int argc, value argv[]) {
14 argv[0] = argv[1].apply(argv[2]);
15 return SUCCEEDED;
16 }
17
18