[Vala] Using custom Objects as parameters for signals.
- From: "Alexandre Moreira" <alexandream gmail com>
- To: vala paldo org
- Subject: [Vala] Using custom Objects as parameters for signals.
- Date: Tue, 20 Mar 2007 19:46:15 -0300
Hello, again.
I was just trying to create a signal much like this one:
public signal void registered(F.Document document);
in a file that could find a F.Document with no problem (this is an
interface I created in another file).
When I try that, valac quits with a big bad error:
** (valac:29348): CRITICAL **: vala_ccode_formal_parameter_new:
assertion `type != NULL' failed
** (valac:29348): CRITICAL **:
vala_ccode_function_declarator_add_parameter: assertion
`VALA_IS_CCODE_FORMAL_PARAMETER (param)' failed
** (valac:29348): CRITICAL **: vala_ccode_identifier_new: assertion
`_name != NULL' failed
Segmentation fault
does this simply mean that this kind of usage is not implemented or am
I doing anything wrong ?
I can solve the problem using Object instead of F.Document for the
type, and I can live with that fow now, but I just thought that you
should know.
Best regards,
Alexandre Moreira.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]