GScannerKey* g_scanner_lookup_internal (GScanner *scanner,
guint scope_id,
const gchar *symbol);
-static gint g_scanner_key_equal (gconstpointer v1,
+static gboolean g_scanner_key_equal (gconstpointer v1,
gconstpointer v2);
static guint g_scanner_key_hash (gconstpointer v);
static void g_scanner_get_token_ll (GScanner *scanner,
}
}
-static gint
+static gboolean
g_scanner_key_equal (gconstpointer v1,
gconstpointer v2)
{
if (first_call)
{
- g_warning("g_scanner_freeze_symbol_table and "
- "g_scanner_thaw_symbol_table are deprecated.");
+ g_message ("g_scanner_freeze_symbol_table() and "
+ "g_scanner_thaw_symbol_table() are deprecated.");
first_call = FALSE;
}
#endif /* G_ENABLE_DEBUG */
void
g_scanner_thaw_symbol_table (GScanner *scanner)
{
+ g_scanner_freeze_symbol_table (scanner);
}
GTokenType