2011-01-17 17:37:18 +00:00
|
|
|
/**
|
|
|
|
* Interface Sweet
|
|
|
|
* is a Python interface file for SWIG. Languages other than Python can
|
|
|
|
* possibly also be supported with little addtional work.
|
|
|
|
*/
|
|
|
|
%module sweet
|
|
|
|
|
|
|
|
%{
|
|
|
|
|
|
|
|
#include <dsnlexer.h>
|
|
|
|
#include <sch_lib_table_lexer.h>
|
|
|
|
#include <sch_lib_table.h>
|
|
|
|
#include <sch_lpid.h>
|
|
|
|
#include <sweet_lexer.h>
|
|
|
|
#include <sch_part.h>
|
|
|
|
|
|
|
|
%}
|
|
|
|
|
|
|
|
%include "std_string.i"
|
|
|
|
%include "std_deque.i"
|
|
|
|
%include "utf8.h"
|
|
|
|
|
|
|
|
%ignore LINE_READER::operator char* () const;
|
|
|
|
|
2011-01-21 07:21:19 +00:00
|
|
|
namespace SCH {
|
|
|
|
%ignore PART::operator=( const PART& other );
|
|
|
|
}
|
|
|
|
|
2011-01-17 17:37:18 +00:00
|
|
|
%include "richio.h"
|
|
|
|
%include "dsnlexer.h"
|
|
|
|
//%include "sch_lib_table_lexer.h"
|
|
|
|
%include "sch_lpid.h"
|
|
|
|
%include "sch_lib.h"
|
|
|
|
%include "sch_lib_table.h"
|
|
|
|
%include "sweet_lexer.h"
|
2011-01-21 07:21:19 +00:00
|
|
|
|
2011-01-17 17:37:18 +00:00
|
|
|
%include "sch_part.h"
|