Jump to content

  • Log In with Google      Sign In   
  • Create Account


#Actualvroad

Posted 14 January 2013 - 03:16 AM

I want delegates too, but this is complicated problem. It's maybe too difficult to understand for me.
  1. Holding a pointer of the method does not increase the reference count of the object which contains it?
  2. Now function pointers have both of them, weak reference to a object and the pointer of a function?
  3. How should we implement delegates efficiently?? Would it be difficult to support weak reference in script object class?

#2vroad

Posted 14 January 2013 - 03:14 AM

I want delegates too, but this is complicated problem. It's maybe too difficult to understand for me.
  1. Holding a pointer of the method does not increase the reference count of the object which contains it?
  2. Now function pointers have both of them, weak reference to a object and the pointer of a function?
  3. How should we implement delegates efficiently?? Is supporting weak reference in script object class difficult?

#1vroad

Posted 14 January 2013 - 03:12 AM

I want delegates too, but this is complicated problem. It's maybe too difficult to understand for me.
  1. Holding a pointer of the method does not increase the reference count of the object which contains it?
  2. Now function pointers have both of them, weak reference to a object and the pointer of a function?
  3. How should we implement delegates efficiently?? Modifying script object class to support weak reference count does not fully solve the problem? 

PARTNERS