GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — python-necpp/necpp/necpp.i at master · tmolteno/python-necpp Expand file tree/ Copy pathnecpp.iMore file actions 37 lines (31 loc) · 888 Bytes / Copy pathnecpp.iFile metadata and controls37 lines (31 loc) · 888 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 %module necpp /* Part of the Python binding code for nec2++ Copyright (C) 2008-2010,2015 Tim Molteno. [email protected] Released under the GPL v3. */ %{ #include <libnecpp.h> %} %include "typemaps.i" /* Used for functions that output a new opaque pointer */ %typemap(in,numinputs=0) opaque_t *OUTPUT (opaque_t retval) { /* OUTPUT in */ retval = NULL; $1 = &retval; } /* used for functions that take in an opaque pointer (or NULL) and return a (possibly) different pointer */ %typemap(argout) opaque_t *OUTPUT, opaque_t *INOUT { /* OUTPUT argout */ %append_output(SWIG_NewPointerObj(SWIG_as_voidptr(retval$argnum), $1_descriptor, 0)); } %typemap(in) opaque_t *INOUT (opaque_t retval) { /* INOUT in */ SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&retval), 0, 0); $1 = &retval; } /* No need for special IN typemap, it works anyway */ %include <libnecpp.h> |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |