SWIG and Automated C/C++ Scripting Extensions

By David Beazley

Dr. Dobb's Journal February 1998

$buffer = stdio::malloc(8192);
stdio::fclose($buffer);
Type error in argument 1 of fclose. Expected FILEPtr. at - line 4.

Example 6: Example pointer type error.

Back to Article


Copyright © 1998, Dr. Dobb's Journal