[Ecls-list] An array becomes a list ?

David Creelman dave at geko.net.au
Mon Jan 16 20:06:00 UTC 2006


It's an array because I didn't run cl_safe_eval()....

Cheers
David

On Tue, 2006-01-17 at 13:55 +1100, David Creelman wrote:
> Hi List,
> 
> cl_object SendBuffer = c_string_to_object("(defvar *SendBuffer*
> (make-array 6 0))");
> cl_type check = type_of(SendBuffer);
> 
> The above code gives back t_cons, not t_vector. Is there some way I can
> force it to be an array so I can use aref directly from C ?
> 
> Regards
> David
> 
> PS If not I'll just have to make some more cl_objects from (aref
> *SendBuffer* i) I suppose.
> 
-- 
David Creelman
GPG: 11CC 0D54 D37A 4B9C 5C65  AB63 5B18 7F99 7D77 9CA5




More information about the ecl-devel mailing list