summaryrefslogtreecommitdiff
path: root/new/sweet.i
diff options
context:
space:
mode:
authorsaurabhb172020-02-26 16:20:48 +0530
committerGitHub2020-02-26 16:20:48 +0530
commitb77f5d9d8097c38159c6f60917995d6af13bbe1c (patch)
tree1392c90227aeea231c1d86371131e04c40382918 /new/sweet.i
parentdadc4d490966a24efe15b5cc533ef8695986048a (diff)
parent003d02608917e7a69d1a98438837e94ccf68352a (diff)
downloadKiCad-eSim-b77f5d9d8097c38159c6f60917995d6af13bbe1c.tar.gz
KiCad-eSim-b77f5d9d8097c38159c6f60917995d6af13bbe1c.tar.bz2
KiCad-eSim-b77f5d9d8097c38159c6f60917995d6af13bbe1c.zip
Merge pull request #4 from FOSSEE/develop
merging dev into master
Diffstat (limited to 'new/sweet.i')
-rw-r--r--new/sweet.i38
1 files changed, 38 insertions, 0 deletions
diff --git a/new/sweet.i b/new/sweet.i
new file mode 100644
index 0000000..2ce1ad9
--- /dev/null
+++ b/new/sweet.i
@@ -0,0 +1,38 @@
+/**
+ * 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;
+
+namespace SCH {
+%ignore PART::operator=( const PART& other );
+}
+
+%include "import_export.h"
+%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"