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
5e1feb8f
Commit
5e1feb8f
authored
Aug 29, 2008
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tag: converted tag_add_item() to an inline function
parent
91502cd7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
tag.h
src/tag.h
+5
-2
No files found.
src/tag.h
View file @
5e1feb8f
...
...
@@ -75,8 +75,11 @@ void tag_free(struct tag *tag);
void
tag_add_item_n
(
struct
tag
*
tag
,
enum
tag_type
itemType
,
const
char
*
value
,
size_t
len
);
#define tag_add_item(tag, itemType, value) \
tag_add_item_n(tag, itemType, value, strlen(value))
static
inline
void
tag_add_item
(
struct
tag
*
tag
,
enum
tag_type
itemType
,
const
char
*
value
)
{
tag_add_item_n
(
tag
,
itemType
,
value
,
strlen
(
value
));
}
void
tag_print_types
(
int
fd
);
...
...
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