port callback example

Daniel J. Luke dluke at geeklair.net
Tue Feb 8 14:26:07 PST 2011


On Feb 8, 2011, at 5:11 PM, James Gregurich wrote:
> 
> I'm trying to figure out how to add a callback to a port such that the function gets called if it exists. Can someone point me to an example of how to properly set that pattern up?

It might help if you would explain what you're actually trying to accomplish (as there may be an alternate way of achieving what you want).

--
Daniel J. Luke                                                                   
+========================================================+                        
| *---------------- dluke at geeklair.net ----------------* |                          
| *-------------- http://www.geeklair.net -------------* |                          
+========================================================+                        
|   Opinions expressed are mine and do not necessarily   |                          
|          reflect the opinions of my employer.          |                          
+========================================================+





More information about the macports-users mailing list