Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Gautam Chitnis
web-ui-redesign
Commits
9d6bf51a
Commit
9d6bf51a
authored
Nov 15, 2007
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add macro for determining array size.
parent
e9ad3b33
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
include/vlc_arrays.h
include/vlc_arrays.h
+1
-0
No files found.
include/vlc_arrays.h
View file @
9d6bf51a
...
@@ -220,6 +220,7 @@
...
@@ -220,6 +220,7 @@
} \
} \
}
}
#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
/* API */
/* API */
#define DECL_ARRAY(type) struct { \
#define DECL_ARRAY(type) struct { \
...
...
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