Debian Codegraph @

ipl/packs/loadfuncpp/doc/makelist.cpp

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