Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
e7651d0d
Commit
e7651d0d
authored
Sep 09, 2011
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
conf: add gcc optimization attributes
parent
6a6f2866
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
conf.h
src/conf.h
+3
-0
No files found.
src/conf.h
View file @
e7651d0d
...
@@ -111,6 +111,7 @@ struct config_param {
...
@@ -111,6 +111,7 @@ struct config_param {
* A GQuark for GError instances, resulting from malformed
* A GQuark for GError instances, resulting from malformed
* configuration.
* configuration.
*/
*/
G_GNUC_CONST
static
inline
GQuark
static
inline
GQuark
config_quark
(
void
)
config_quark
(
void
)
{
{
...
@@ -187,6 +188,7 @@ const char *
...
@@ -187,6 +188,7 @@ const char *
config_get_block_string
(
const
struct
config_param
*
param
,
const
char
*
name
,
config_get_block_string
(
const
struct
config_param
*
param
,
const
char
*
name
,
const
char
*
default_value
);
const
char
*
default_value
);
G_GNUC_MALLOC
static
inline
char
*
static
inline
char
*
config_dup_block_string
(
const
struct
config_param
*
param
,
const
char
*
name
,
config_dup_block_string
(
const
struct
config_param
*
param
,
const
char
*
name
,
const
char
*
default_value
)
const
char
*
default_value
)
...
@@ -204,6 +206,7 @@ bool
...
@@ -204,6 +206,7 @@ bool
config_get_block_bool
(
const
struct
config_param
*
param
,
const
char
*
name
,
config_get_block_bool
(
const
struct
config_param
*
param
,
const
char
*
name
,
bool
default_value
);
bool
default_value
);
G_GNUC_MALLOC
struct
config_param
*
struct
config_param
*
config_new_param
(
const
char
*
value
,
int
line
);
config_new_param
(
const
char
*
value
,
int
line
);
...
...
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