[java-gnome-hackers] glib g_format_size_for_display()
Brought to you by:
afcowie
From: Guillaume M. <res...@gm...> - 2010-03-30 19:06:51
|
Hello, I did a quick hack to be able to use the g_format_size_for_display() function from Glib. The C function needs a goffset parameter so I had to add a new FundamentalThing to the code generator. goffset is a guint64 so here is how I add it: goffset => Native long type => JNI jlong type => Java long type. The branch can be found at: bzr/java-gnome/hackers/guillaume/glib_format_size/ Can anyone let me know if everything is right? (that's my first codegen hack). Cheers, -- Guillaume Mazoyer - http://www.respawner.fr/ |