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
3aef4252
Commit
3aef4252
authored
Jul 14, 2014
by
Maciej Suminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refinement to commit #4993.
parent
ef9b0678
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
dlist.h
include/dlist.h
+0
-3
pcbnew.i
pcbnew/scripting/pcbnew.i
+5
-0
No files found.
include/dlist.h
View file @
3aef4252
...
@@ -143,8 +143,6 @@ class DLIST : public DHEAD
...
@@ -143,8 +143,6 @@ class DLIST : public DHEAD
{
{
public
:
public
:
// Without the following ifdef, SWIG appends methods from the templated class
#ifndef SWIG
/**
/**
* operator T*
* operator T*
* is a casting operator that returns \a GetFirst(), a T*
* is a casting operator that returns \a GetFirst(), a T*
...
@@ -156,7 +154,6 @@ public:
...
@@ -156,7 +154,6 @@ public:
* is a dereferencing operator that returns \a GetFirst(), a T*
* is a dereferencing operator that returns \a GetFirst(), a T*
*/
*/
T
*
operator
->
()
const
{
return
GetFirst
();
}
T
*
operator
->
()
const
{
return
GetFirst
();
}
#endif
/* SWIG */
/**
/**
* Function GetFirst
* Function GetFirst
...
...
pcbnew/scripting/pcbnew.i
View file @
3aef4252
...
@@ -47,6 +47,11 @@
...
@@ -47,6 +47,11 @@
%rename(AddNative) *::Add;
%rename(AddNative) *::Add;
// fix method names conflicts
%rename(AddChild) MODULE::Add;
%rename(RemoveChild) MODULE::Remove;
%rename(DeleteChild) MODULE::Delete;
%exception {
%exception {
try{
try{
$action
$action
...
...
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