2008-04-15 Juerg Billeter <j@bitron.ch>
* vala/valascope.vala: update for use with non-null types
svn path=/trunk/; revision=1241
2008-04-15 Jürg Billeter <j@bitron.ch>
+ * vala/valascope.vala: update for use with non-null types
+
+2008-04-15 Jürg Billeter <j@bitron.ch>
+
* vapi/cairo.vapi: fix cairo_set_dash binding
2008-04-15 Jürg Billeter <j@bitron.ch>
* @param name name for the specified symbol
* @param sym a symbol
*/
- public void add (string name, Symbol sym) {
+ public void add (string? name, Symbol sym) {
if (name != null) {
if (symbol_table == null) {
symbol_table = new HashMap<string,Symbol> (str_hash, str_equal);
return;
}
- symbol_table[name] = sym;
+ symbol_table[(string) name] = sym;
}
sym.owner = this;
}