[Vala] methods without arguments don't take void ?
- From: Xavier Bestel <xavier bestel free fr>
- To: vala paldo org
- Subject: [Vala] methods without arguments don't take void ?
- Date: Wed, 24 Oct 2007 11:33:27 +0200
Hi,
it seems like I can't add a method like that:
public int mymethod(void) {....}
instead I have to remove the void:
public int mymethod() {....}
Otherwise valac tells me:
error: syntax error, unexpected ), expecting get or set or identifier
Is that what's expected ?
Thanks,
Xav
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]