Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ecl
ecl
Commits
4460a8c7
Commit
4460a8c7
authored
Aug 12, 2020
by
Marius Gerbershagen
Browse files
doc: fix argument order for ecl_alloc_simple_vector
parent
1a680717
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/doc/manual/standards/arrays.txi
View file @
4460a8c7
...
...
@@ -114,7 +114,7 @@ Creating array and vectors
@cppdef ecl_alloc_simple_vector
@cppdef si_make_vector
@cppdef si_make_array
@deftypefun cl_object ecl_alloc_simple_vector (cl_elttype element_type
, cl_index length
);
@deftypefun cl_object ecl_alloc_simple_vector (
cl_index length,
cl_elttype element_type);
@deftypefunx cl_object si_make_vector (cl_object element_type, cl_object length, cl_object adjustablep, cl_object fill_pointerp, cl_object displaced_to, cl_object displacement);
@deftypefunx cl_object si_make_array (cl_object element_type, cl_object dimensions, cl_object adjustablep, cl_object fill_pointerp, cl_object displaced_to, cl_object displacement);
...
...
@@ -136,7 +136,7 @@ Finally, the function @coderef{si_make_array} does a similar job to @coderef{si_
Create one-dimensional @code{base-string} with room for 11 characters:
@example
cl_object s = ecl_alloc_simple_vector(ecl_aet_bc
, 11
);
cl_object s = ecl_alloc_simple_vector(
11,
ecl_aet_bc);
@end example
Create a one-dimensional @code{array} with a fill pointer
...
...
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