LogoopenSUSE Build Service > Projects
Sign Up | Log In

Specifications for callback functions passed in to an API

If your code lets other people supply callback functions, it’s important to specify the function signature you expect, and check that functions support that. Adding extra parameters later would break other peoples code unless you’re careful.

backcall provides a way of specifying the callback signature using a prototype function.

Source Files (show merged sources derived from linked package)

Filename Size Changed Actions

Comments for home:frispete:python (0)

Login required, please login or signup in order to comment