[Vala] Bug with const method pointers



Hi,

this


using GLib;

public class BugDemo
{
        void foo() {
        }

        const GLib.Callback bar = foo;
}

leads to genarition of wrong C code. Problem is that in the .c file
function declarations appear after initialization of const member
variables. Jürg, could please fix this?

Thanks,

Dominique






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