This is the mail archive of the guile@cygnus.com mailing list for the guile project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Valentin Kamyshenko <val@kamysh.materials.kiev.ua> writes: > > Thus, after application of ARRAY-CONTENTS you get uniform-vector. > Of course, you can get a pointer to the first element of it > (by the way, I do not know a politically correct way to do this - I > use > gh_cdr(uve) > although I'm sure there must be better way). Not only not politically correct, but not safe as well. The result of ARRAY-CONTENTS may be an array, if the array can't be used to access all the elements of its underlying contents vector. There should be a gh_ function to access this pointer.