Re: new gc interface

Date view Thread view Subject view Author view

From: Alexandre Oliva (oliva@dcc.unicamp.br)
Date: Wed Jan 27 1999 - 12:27:15 EST


On Jan 27, 1999, Godmar Back <gback@cs.utah.edu> wrote:

> Think about it some more. collector.ops is nothing but an explicit
> pointer to the vtable.

> typedef struct _Collector {
> struct GarbageCollectorInterface_Ops *ops;
> } Collector;

> and

> struct _CollectorImpl {
> Collector collector;
> }

But why can't I define

struct _CollectorImpl {
        GarbageCollectorInterface_Ops *vtable;
};

-- 
Alexandre Oliva  http://www.dcc.unicamp.br/~oliva  aoliva@{acm.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Universidade Estadual de Campinas, SP, Brasil


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:51 EDT