Re: [eclipse-clp-users] create an eclipse arraylist from a c++ data structures

From: Kish Shen <kisshen_at_cisco.com>
Date: Mon, 07 Mar 2011 19:16:18 +0000
On 23/02/2011 16:25, Mario Gianni wrote:
> Hi
>
> I have a c++ data structure representing a collection of objects.
> I want to make an eclipse arraylist of compound terms, representing my
> objects, from this collection.
>
> regards
>
>

Hi,

I am not sure what you mean by an "arraylist", an array and a list are
conceptually quite different, and has different implementations in 
ECLiPSe (Prolog).

The Embedding and Interface manual describes how to construct ECLiPSe 
data structures in C/C++ in the "Constructing ECLiPSe data" chapter:

http://www.eclipseclp.org/doc/embedding/embroot008.html#toc13

Cheers,

Kish

-- 
This e-mail may contain confidential and privileged material for the
sole use of the intended recipient. Any review, use, distribution or
disclosure by others is strictly prohibited. If you are not the intended
recipient (or authorized to receive for the recipient), please contact
the sender by reply e-mail and delete all copies of this message.
Cisco Systems Limited (Company Number: 02558939), is registered in
England and Wales with its registered office at 1 Callaghan Square,
Cardiff, South Glamorgan CF10 5BT.
Received on Mon Mar 07 2011 - 19:51:23 CET

This archive was generated by hypermail 2.2.0 : Thu Feb 02 2012 - 02:31:58 CET