[Vala] How to pass null to Gst.init?
- From: "marcin saepia net" <marcin saepia net>
- To: vala <vala-list gnome org>
- Subject: [Vala] How to pass null to Gst.init?
- Date: Tue, 23 Aug 2016 15:13:00 +0200
Hello,
I would like to pass NULL to Gst.init. I intentionally do not want to pass
argv.
It is defined as
void Gst.init (ref unowned string[]? argv)
but if I pass null it throws
error: Argument 1: Cannot pass null to reference parameter
Gst.init(null);
despite parameter type having "?"
How can I achieve this?
m.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]