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
6ff8675e
Commit
6ff8675e
authored
Oct 30, 2008
by
charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
back to EXCHG macro (equivalent inline functions do not work, this is a stupid error from myself )
parent
a7417421
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
34 deletions
+0
-34
macros.h
include/macros.h
+0
-34
No files found.
include/macros.h
View file @
6ff8675e
...
@@ -57,40 +57,6 @@
...
@@ -57,40 +57,6 @@
#define EXCHG( a, b ) { typeof(a) __temp__ = (a); (a) = (b); (b) = __temp__; }
#define EXCHG( a, b ) { typeof(a) __temp__ = (a); (a) = (b); (b) = __temp__; }
class
Hierarchical_PIN_Sheet_Struct
;
static
inline
void
EXCHG
(
const
Hierarchical_PIN_Sheet_Struct
*
a
,
const
Hierarchical_PIN_Sheet_Struct
*
b
)
{
const
Hierarchical_PIN_Sheet_Struct
*
temp
=
a
;
a
=
b
;
b
=
temp
;
};
class
SCH_CMP_FIELD
;
static
inline
void
EXCHG
(
const
SCH_CMP_FIELD
*
a
,
const
SCH_CMP_FIELD
*
b
)
{
const
SCH_CMP_FIELD
*
temp
=
a
;
a
=
b
;
b
=
temp
;
};
class
BOARD_ITEM
;
static
inline
void
EXCHG
(
const
BOARD_ITEM
*
a
,
const
BOARD_ITEM
*
b
)
{
const
BOARD_ITEM
*
temp
=
a
;
a
=
b
;
b
=
temp
;
};
class
D_PAD
;
static
inline
void
EXCHG
(
const
D_PAD
*
a
,
const
D_PAD
*
b
)
{
const
D_PAD
*
temp
=
a
;
a
=
b
;
b
=
temp
;
};
#endif
/*****************************************************/
/*****************************************************/
/* inline functions to insert menuitems with a icon: */
/* inline functions to insert menuitems with a icon: */
/*****************************************************/
/*****************************************************/
...
...
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