Re: [Vala] SQLite segfault when used in a class
- From: Alessandro Pellizzari <alex amiran it>
- To: Travis Watkins <amaranth ubuntu com>
- Cc: Vala ML <vala-list gnome org>
- Subject: Re: [Vala] SQLite segfault when used in a class
- Date: Sat, 12 Jan 2008 12:20:56 +0100
On ven, 2008-01-11 at 12:22 -0600, Travis Watkins wrote:
Your callback method should be decorated with [InstanceLast] and you
should pass 'this' in as the user data in the exec call (I think
that's what the null area is for anyway).
OK, I am totally stupid. :)
I forgot [NoArrayLength ()] as callback decorator, so the parameters got
shifted and messed up. :/
I noticed it only diff-ing the demo's C-generated code and mine. The
callback signature was completely different.
I am not (yet) used to decorators... :)
Sorry and thanks for your help.
Bye.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]