add sweet.i and some minor 'using' declarations
This commit is contained in:
parent
2f211c6b9d
commit
e849da1862
|
@ -33,6 +33,7 @@
|
|||
|
||||
//using namespace std; // screws up Doxygen
|
||||
using namespace SCH;
|
||||
using namespace LT; // tokens, enum T for LIB_TABLE
|
||||
|
||||
|
||||
LIB_TABLE::LIB_TABLE( LIB_TABLE* aFallBackTable ) :
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
#include <sch_lib_table.h>
|
||||
|
||||
using namespace SCH;
|
||||
using namespace PR; // tokens, enum T for SWEET_LEXER
|
||||
|
||||
|
||||
#define MAX_INHERITANCE_NESTING 6 // no problem going larger
|
||||
|
|
|
@ -0,0 +1,32 @@
|
|||
/**
|
||||
* 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;
|
||||
|
||||
%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"
|
||||
%include "sch_part.h"
|
Loading…
Reference in New Issue