Newsgroups: comp.lang.smalltalk
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!news2.near.net!news.mathworks.com!uunet!in1.uu.net!pipex!howland.reston.ans.net!ix.netcom.com!netcomsv!netcomsv!slcgate!servio!servio!marcs
From: marcs@slc.com (Marc San Soucie)
Subject: Re: Calling Smalltalk from C
Message-ID: <marcs.792790712@servio>
Sender: news@slc.com (USENET News)
Nntp-Posting-Host: servio
Organization: Servio Corporation, Beaverton OR, USA
References: <D3nFDq.K8C@world.std.com> <D3nKKo.Jyp@online.tmx.com.au>
Date: 14 Feb 95 19:38:32 GMT
Lines: 21

philip <philip@oose.com.au> writes:

> edwards@world.std.com (Jonathan Edwards) wrote:

> > Does anyone know of a way to call Smalltalk from C?
> > All the Smalltalks I have seen support call-OUTs and call-BACKs but not
> > call-INs.

> The exact details of calling Smalltalk from C naturally depends on 
> the variant of Smalltalk you are using.

The Smalltalk we run inside the GemStone database supports a complete C
programming API, as well as call-outs and a few call-backs. There are
functions to send messages, execute code fragments, and to access
individual objects by name, by reference, by iteration, or by traversal.
But this is a database, so an API is essential.

    Marc San Soucie
    Servio Corporation
    Beaverton, Oregon
    marcs@slc.com
