+
Point of view
All features
deferred class POINTER_HANDLING
Summary
copyright
Copyright (C) 2005-2022: Paolo Redaelli This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Direct parents
Insert list: ANY
Known children
Insert list: WRAPPER
Overview
Features
Pointer referencing and de-referencing
{WRAPPER}
Dealing with "char **" return types
{WRAPPER}
address_of (a_pointer: POINTER): POINTER
content_of (a_pointer: POINTER): POINTER
The pointer referenced by a_pointer which has to be a pointer to a pointer (i.e.: void **).
Note: the type cannot be checked by Eiffel AFAIK. Paolo 2006-05-08q.
strings_array_from (a_pointer: POINTER): FAST_ARRAY[FIXED_STRING]
effective function
Build a FAST_ARRAY of STRINGs from a_pointer which must be of a NULL-terminated array of C strings, that is a "char**" String contents and array itself are copied.
sized_strings_array_from (a_pointer: POINTER, a_size: INTEGER_32): FAST_ARRAY[FIXED_STRING]
effective function
Build a FAST_ARRAY of STRINGs from a_pointer which must be of a array of C strings of a_size elements.
The actual C type must be "char**" String contents and array itself are copied.