Hey all, Sorry for the burden but you might as well welcome another C newb. Dah.
Anyway, I'm extending the Ruby language and defining a new Ruby object(AMFSerializer). I'm going to be able to pass Ruby values to methods on that Ruby object.. that in the C code implement the functionality.
What its doing is passing Ruby values and serializing those values into a binary AMF form. AMF is for the Flash player object format. I don't have a problem understanding the Ruby C API. More or less what I'm having troubles with is finding everything needed to do this with C.. I haven't written a lick of C so I need a little push in the right direction is all. With some more questions here and there..
So I guess here is the first question::
if I take a ruby value into a C function:
hmmmmm.Code:static VALUE write_amf3_string(VALUE self, VALUE str) { //where do I get an api for writing binary value to strings? }
Thanks