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. The backcall
package provides a way of specifying the callback signature using a prototype function.
System | Target | Derivation | Build status |
---|---|---|---|
x86_64-linux | /gnu/store/33zpffpbpr3920zb1hahxaxb5sf520s3-python-backcall-0.1.0.drv | ||
mips64el-linux | /gnu/store/153794560w6ynidq61dq8qxzkvrzb0nk-python-backcall-0.1.0.drv | ||
i686-linux | /gnu/store/8dv9m8x5fcah3g8fcmv6xgyn032d2kii-python-backcall-0.1.0.drv | ||
armhf-linux | /gnu/store/kbznps7yaff3bnsc0v539ki4jy89j4ip-python-backcall-0.1.0.drv | ||
aarch64-linux | /gnu/store/2lyf141sgs2hmkqhjvyzqpv3is49i0lw-python-backcall-0.1.0.drv |
Linter | Message | Location |
---|---|---|
No lint warnings ✓ |