./devel/py-backcall, Specifications for callback functions passed in to an API

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2018Q2, Version: 0.1.0, Package name: py27-backcall-0.1.0, Maintainer: pkgsrc-users

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.


Master sites:

SHA1: e0ca4c1bde8f0a198505a090cd585a325789def1
RMD160: 13c59b24f2ea2acd09b63c9196dcc6cb6cb04e01
Filesize: 9.463 KB

Version history: (Expand)