Index: [thread] [date] [subject] [author]
  From: Steve Cheng <elmert@ipoline.com>
  To  : ggi-develop@eskimo.com
  Date: Mon, 24 Aug 1998 16:36:12 -0400 (EDT)

Re: debugging libggi...

On Sun, 23 Aug 1998, Marcus Sundberg wrote:

> Yes, I've though about that too. Internal tags should not be
> visible to applications though. How about just adding an
> int *idtag;
> entry to the ggi_db_list (idtag will be an array with each
> entry corresponding to an entry in bufs) ?

Question:

Does a DirectBuffer itself "belong" to a target, or it's entry in
ggi_db_list ?

If you're using int *idtag in ggi_db_list, then it's obviously the latter.

But I think the former case is more useful/convenient, if you want to move
buffers around or not have them in a ggi_db_list.  Is the paranoid
encapsulation necessary?

e.g.

ggi_directbuffer *db = _ggi_db_get_new(int idtag);

--
Steve Cheng               

email: steve@ggi-project.org   
www: <http://shell.ipoline.com/~elmert/>;

Index: [thread] [date] [subject] [author]