Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void main(string[] args){
- var test = new Test();
- }
- public class Test : HashTable<string,string>
- {
- public Test(){
- base(str_hash,str_equal);
- }
- }
- /*
- /home/yannick/Documents/main.vala.c: In function ‘test_new’:
- /home/yannick/Documents/main.vala.c:42:2: error: too few arguments to function ‘g_hash_table_new_full’
- self = (Test*) g_hash_table_new_full (_tmp0_, _tmp1_);
- ^
- In file included from /usr/include/glib-2.0/glib.h:52:0,
- from /home/yannick/Documents/main.vala.c:5:
- /usr/include/glib-2.0/glib/ghash.h:62:13: note: declared here
- GHashTable* g_hash_table_new_full (GHashFunc hash_func,
- ^
- error: cc exited with status 256
- Compilation failed: 1 error(s), 1 warning(s)
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement