Is the following safe? Will the argument be
freed when xx returns, but async_method is still
in the background?

   void xx () {
      async_method (new SomeObject ());
   }

What about the "this" argument in the following;
is it safe?

   void xx () {
      var y = new SomeOject ();
      y.async_method ();
   }

I tried to figure out the answer to these question
from the generated C, but was lost in the tangle.

hand
Nor Jaidi Tuah


_______________________________________________
vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to