ColdC: Function/Method Reference: bind_function()


INTEGER bind_function(SYMBOL function, OBJNUM, obj)

This function is used to secure other ColdC functions which may have potential security problems. It binds the function specified by the argument function to the object specified by obj. After a function is bound to an object, ONLY methods defined on that object may call the function. Methods defined on descendants of the object also cannot call it (although they can call methods defined on the object, which in turn call the function).


Last Modified on 23 Mar 1996
Copyright © 1995, 1996, Brandon Gillespie