swig causes GPF on WinNT

Opinderjit bhellao at my-deja.com
Wed Oct 25 18:02:53 EDT 2000


I use swig version: 1.3u-20000618-1136 (Alpha 3).
When I try to run swig from the command line with the options below, I
get a GFP (Debug Error!). Is my interface file declared wrong?

swig -python -shadow -c++ -o pde_wrap.cpp pde.i

// File : pde.i
%module pde
%{
#include "pde.h"
%}
%include "pde.h"

// Header file: pde.h
#include <stdio.h>
struct Grid2d {
	Grid2d(int ni, int nj);
	~Grid2d();
	double **data;
	int xpoints;
	int ypoints;
};


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list