Talk:Callback (computer programming): Difference between revisions

Content deleted Content added
SineBot (talk | contribs)
m Signing comment by 196.217.165.28 - ": new section"
No edit summary
Line 95:
 
sam <span style="font-size: smaller;" class="autosigned">—Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[Special:Contributions/196.217.165.28|196.217.165.28]] ([[User talk:196.217.165.28|talk]]) 18:50, 9 July 2009 (UTC)</span><!-- Template:UnsignedIP --> <!--Autosigned by SineBot-->
'''The C signal example'''
is this a good example of where a callback is needed? I've seen in books where a simple function call to a signal handler is used. Also this compiles with a warning:sigtest.c:11: warning: passing argument 2 of ‘signal’ from incompatible pointer type.
I don't know C that well but I'm actually trying to get sorted in my head what really differentiates a callback function from a regular call to a function; I'm not sure the signal example does that.[[Special:Contributions/98.96.221.102|98.96.221.102]] ([[User talk:98.96.221.102|talk]]) 00:28, 15 August 2009 (UTC)