Hi,

regarding the buffer code:

On 27.04.2012 23:07, Natacha Porté wrote:
on Friday 27 April 2012 at 22:14, chris wrote:
1. both have their own buffer concept and do not allow to hand in a
string that
     makes it necessary to copy from Fossils Blob blob_str  output into
the input
     buffer =>  needs twice the input docs size :-(
That's where I spent most of the time in my attempt to integrate
libupskirt into fossil. The idea was to remove libupskirt's dynamic
buffers completely and replace them with fossil blobs (which are
dynamic buffers too).
would'nt it be easier to implement sth like a "fixed buffer" within libupskirt
that takes a char* and a length and only keeps a reference without copying
the content? Each attempt to change the size of such a buffer would result in an error. If libupskirt does not mess with the input buffer size then this would
be a cheap (wrt effort) solution.

Chris
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to