Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
PPSi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
50
Issues
50
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
PPSi
Commits
f6b1428d
Commit
f6b1428d
authored
Feb 26, 2013
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
trivial: turn DSDEF() to a function
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
3b81805f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
ppsi.h
include/ppsi/ppsi.h
+5
-1
No files found.
include/ppsi/ppsi.h
View file @
f6b1428d
...
@@ -262,7 +262,11 @@ static inline struct pp_runtime_opts *OPTS(struct pp_instance *ppi)
...
@@ -262,7 +262,11 @@ static inline struct pp_runtime_opts *OPTS(struct pp_instance *ppi)
return
ppi
->
rt_opts
;
return
ppi
->
rt_opts
;
}
}
#define DSDEF(x) ((x)->defaultDS)
static
inline
struct
DSDefault
*
DSDEF
(
struct
pp_instance
*
ppi
)
{
return
ppi
->
defaultDS
;
}
#define DSCUR(x) ((x)->currentDS)
#define DSCUR(x) ((x)->currentDS)
#define DSPAR(x) ((x)->parentDS)
#define DSPAR(x) ((x)->parentDS)
#define DSPOR(x) ((x)->portDS)
#define DSPOR(x) ((x)->portDS)
...
...
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