Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Chris Müller
crystal
Commits
a142409b
Commit
a142409b
authored
Oct 30, 2012
by
Chris Müller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lib: add clear function for pointer arrays.
parent
e2856887
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
src/structures/array.h
src/structures/array.h
+1
-0
No files found.
src/structures/array.h
View file @
a142409b
...
...
@@ -74,6 +74,7 @@ void cry_ptr_array_append(struct CryPtrArray* array, pointer
return_code
cry_ptr_array_insert
(
struct
CryPtrArray
*
array
,
size_t
index
,
pointer
ptr
);
pointer
cry_ptr_array_remove
(
struct
CryPtrArray
*
array
,
size_t
index
);
pointer
cry_ptr_array_replace
(
struct
CryPtrArray
*
array
,
size_t
index
,
pointer
ptr
);
void
cry_ptr_array_clear
(
struct
CryPtrArray
*
array
,
cry_free_funptr
fun
);
pointer
cry_ptr_array_get
(
struct
CryPtrArray
*
array
,
size_t
index
);
...
...
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