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
86132ad1
Commit
86132ad1
authored
Jul 07, 2014
by
Dick Hollenbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add aDocName to NETLIST::Format()
parent
84a14c3a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
pcb_netlist.cpp
pcbnew/pcb_netlist.cpp
+2
-2
pcb_netlist.h
pcbnew/pcb_netlist.h
+2
-2
No files found.
pcbnew/pcb_netlist.cpp
View file @
86132ad1
...
@@ -137,11 +137,11 @@ void COMPONENT::Format( OUTPUTFORMATTER* aOut, int aNestLevel, int aCtl )
...
@@ -137,11 +137,11 @@ void COMPONENT::Format( OUTPUTFORMATTER* aOut, int aNestLevel, int aCtl )
}
}
void
NETLIST
::
Format
(
OUTPUTFORMATTER
*
aOut
,
int
aNestLevel
,
int
aCtl
)
void
NETLIST
::
Format
(
const
char
*
aDocName
,
OUTPUTFORMATTER
*
aOut
,
int
aNestLevel
,
int
aCtl
)
{
{
int
nl
=
aNestLevel
;
int
nl
=
aNestLevel
;
aOut
->
Print
(
nl
,
"(
back_annotation
\n
"
);
aOut
->
Print
(
nl
,
"(
%s
\n
"
,
aDocName
);
for
(
unsigned
i
=
0
;
i
<
m_components
.
size
();
i
++
)
for
(
unsigned
i
=
0
;
i
<
m_components
.
size
();
i
++
)
{
{
...
...
pcbnew/pcb_netlist.h
View file @
86132ad1
...
@@ -330,7 +330,7 @@ public:
...
@@ -330,7 +330,7 @@ public:
*/
*/
bool
AnyFootprintsChanged
()
const
;
bool
AnyFootprintsChanged
()
const
;
void
Format
(
OUTPUTFORMATTER
*
aOut
,
int
aNestLevel
,
int
aCtl
=
0
);
void
Format
(
const
char
*
aDocName
,
OUTPUTFORMATTER
*
aOut
,
int
aNestLevel
,
int
aCtl
=
0
);
#define CTL_OMIT_EXTRA (1<<0)
#define CTL_OMIT_EXTRA (1<<0)
#define CTL_OMIT_NETS (1<<1)
#define CTL_OMIT_NETS (1<<1)
...
@@ -340,7 +340,7 @@ public:
...
@@ -340,7 +340,7 @@ public:
void
FormatBackAnnotation
(
OUTPUTFORMATTER
*
aOut
)
void
FormatBackAnnotation
(
OUTPUTFORMATTER
*
aOut
)
{
{
Format
(
aOut
,
0
,
CTL_FOR_BACKANNO
);
Format
(
"back_annotation"
,
aOut
,
0
,
CTL_FOR_BACKANNO
);
}
}
};
};
...
...
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