Re: [Vala] What does an exclamation mark after type mean?



On Mon, 2008-01-07 at 19:29 +0100, Jaap A. Haitsma wrote:
I see thing like the following in the vala source code

string! blah

What does the ! mean?

http://live.gnome.org/Vala/FAQ
What does "string! foo" mean?
The !-modifier tells the vala compiler that a passed or returned value
must not be null.

Jürg




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]