Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
ccan
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mirror
ccan
Commits
d79a3276
Commit
d79a3276
authored
Jan 16, 2011
by
Brad Hards
Committed by
Rusty Russell
Jan 17, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
array: spelling fixes.
parent
737eacb1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ccan/array/array.c
ccan/array/array.c
+1
-1
ccan/array/array.h
ccan/array/array.h
+1
-1
No files found.
ccan/array/array.c
View file @
d79a3276
...
...
@@ -6,7 +6,7 @@ int array_alias_helper(const void *a, const void *b) {
return
0
;
}
//grows the allocated size to accomodate the size
//grows the allocated size to accom
m
odate the size
void
array_resize_helper
(
array_char
*
a
,
size_t
itemSize
)
{
a
->
alloc
=
(
a
->
size
+
63
)
&~
63
;
#ifndef ARRAY_USE_TALLOC
...
...
ccan/array/array.h
View file @
d79a3276
...
...
@@ -126,7 +126,7 @@ array_growalloc(array, newAlloc) sees if the array can currently hold newAlloc i
if not, it increases the alloc to satisfy this requirement, allocating slack
space to avoid having to reallocate for every size increment.
array_from_string(array, str) cop
y
s a string to an array_char.
array_from_string(array, str) cop
ie
s a string to an array_char.
array_push(array, item) pushes an item to the end of the array.
array_pop_nocheck(array) pops it back out. Be sure there is at least one item in the array before calling.
...
...
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