> Yeah, caca_draw_bitmap is probably the most useful function in the
> library, but also the most difficult to wrap for another language. As
> for caca_set_bitmap_palette, do you really need to share C arrays? It
> looks to me as if a simple conversion to C is enough.
caca_set_bitmap_palette() could definitely be implemented with
Perl arrays being copied to C arrays. The wrappers for the polyline
functions already do something like this, so it wouldn't be hard
to implement.
However, I would feel like a bad coder if I didn't implement some
kind of array sharing mechanism for caca_draw_bitmap().
> > Let me know what you think.
>
> I like it. Would you like access to the SVN repository so that you
> can put your code together with libcaca, or do you prefer maintaining it
> on your side? Either is fine for me.
I will take you up on your offer. I've been meaning to try out subversion,
and this'll give me a good chance. However, since I'm a subversion n00b,
I don't feel confident about importing my sources into your repository.
I would hate to mess things up, so I would like you to do that part.
Just take the tarball that came in the other email and import those
files where you think it's appropriate. Once that's done, I should be
fine.
PS: Being ignorant in the ways of SVN, I wonder if you need any additional
information from me in order to give me commit access.
If so, let me know.
|