Re: BonoboStreamMem changes
- From: Dan Winship <danw helixcode com>
- To: Miguel de Icaza <miguel helixcode com>
- cc: gnome-components-list gnome org
- Subject: Re: BonoboStreamMem changes
- Date: Tue, 18 Apr 2000 11:29:16 -0400
> > - If you pass in a buffer, it will use it rather than making
> > an exact copy of it and using the copy.
>
> Who is the owner of the buffer afterwards? It seems that we either
> need to have a flag to specify the ownership.
The current behavior is:
- The caller continues to own it if read_only is FALSE.
- The stream takes ownership if read_only is TRUE.
I'm proposing changing it so the stream always takes ownership. If the
app doesn't want that, it can just pass a copy of the buffer.
-- Dan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]