[Vala] Copy function produces segmentation fault



Hi,

I have been writing a Vapi for the ZeroMQ library: http://www.zeromq.org/. I
would eventually like it to be distributed with Vala itself, and would
propose myself as the maintainer.

See the vapi here:
https://github.com/lgunsch/zmq-vala/blob/master/libzmq.vapi

Although, I am having some trouble getting the MSG.Msg.copy() message copy
function to work correctly. It produces a segmentation fault. I am unsure
how to go about fixing this issue. You can see the docs for the libraries
copy function below.

http://api.zeromq.org/2-1:zmq-msg-copy

Any help is appreciated!

Cheers,
~Lewis

Attachment: libzmq.vapi
Description: Text Data

Attachment: msgtest.vala
Description: Text Data



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]