Hi!

I just working on creating Fossil library for accessing repository from 
Ruby language.
Im stuck on blob_uncompress function.
Im not really know C language, then i just move blob_uncompress function 
to Ruby extension written on C.
Most time it work perfectly but sometimes it give me weird results.
Some one can explain me how to port blob_uncompress(Blob *pIn, Blob 
*pOut) function from blob.c
to any other "hight level language"?
Im not understand things like this e.x.:
nOut = (inBuf[0]<<24) + (inBuf[1]<<16) + (inBuf[2]<<8) + inBuf[3];
and then:
uncompress((unsigned char*)blob_buffer(&temp), &nOut2, &inBuf[4], 
blob_size(pIn))

Thank you!


_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to