Re: Reading from an InputStream
- From: Michael Fletcher <m fletcher theplanet ca>
- To: javascript-list gnome org
- Subject: Re: Reading from an InputStream
- Date: Thu, 02 Feb 2012 20:45:54 -0700
I had a bit of good luck and bad luck.
I managed to rebuild gobject-introspection with the following annotation
on g_input_stream_read_async buffer.
Is this the correct way to map a void*?
(element-type guint8) (array length=count)
Anyways I was able to pass an array in. I stepped into
g_input_stream_read_async and it appears as though the buffer was passed
into that function correctly.
That is where the good luck ended.
I have done *something* wrong because now I am getting a variety of
errors and the variety leads me to believe some memory was overwritten.
It usually segfaults in malloc in whatever is called after read_async
returns.
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]