<head><title>ColdC: Function/Method Reference: bind_function()</title></head> <body> <h1 align=center><a href="/ColdC/">ColdC</a>: <a href="/ColdC/Functions/">Function/Method Reference</a>: bind_function()</h1> <hr> <p> <font size=+1><i>INTEGER</i> <b>bind_function</b>(<i>SYMBOL <b>function</b>, OBJNUM, <b>obj</b></i>)</font> <p>This function is used to secure other ColdC functions which may have potential security problems. It binds the function specified by the argument <var>function</var> to the object specified by <var>obj</var>. After a function is bound to an object, ONLY methods <i>defined</i> 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). <p><hr size=4><p align=center><i>Last Modified on 23 Mar 1996</i> <br><i>Copyright © 1995, 1996, Brandon Gillespie</i> </body>