Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
e849da18
Commit
e849da18
authored
Jan 17, 2011
by
Dick Hollenbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add sweet.i and some minor 'using' declarations
parent
2f211c6b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
0 deletions
+34
-0
sch_lib_table.cpp
new/sch_lib_table.cpp
+1
-0
sch_part.cpp
new/sch_part.cpp
+1
-0
sweet.i
new/sweet.i
+32
-0
No files found.
new/sch_lib_table.cpp
View file @
e849da18
...
...
@@ -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
)
:
...
...
new/sch_part.cpp
View file @
e849da18
...
...
@@ -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
...
...
new/sweet.i
0 → 100644
View file @
e849da18
/**
* 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"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment