[Vala] Reference to "this pointer" ?



How can I pass a "this pointer" to a method marked with "ref" keyword ?

for example:

void test(ref objtype t) {...}

// ... class and method declaration
{
    test(ref this);
}

Thanks ;)

-- 
Victor Aurélio Santos


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