aboutsummaryrefslogtreecommitdiffstats
path: root/lib/otp_mibs/info
diff options
context:
space:
mode:
authorStavros Aronis <[email protected]>2010-05-30 20:02:39 +0300
committerHenrik Nord <[email protected]>2011-10-07 17:08:03 +0200
commit0edb6a4d2d76960846fd04ecce3aa00b3348691b (patch)
tree0838ba0f3a3c744b91e50f5e3bd50738fbfa165b /lib/otp_mibs/info
parent00202339445daae6ed931f28f932089d5c3dd455 (diff)
downloadotp-0edb6a4d2d76960846fd04ecce3aa00b3348691b.tar.gz
otp-0edb6a4d2d76960846fd04ecce3aa00b3348691b.tar.bz2
otp-0edb6a4d2d76960846fd04ecce3aa00b3348691b.zip
Add '-callback' attribute to language syntax
Behaviours may define specs for their callbacks using the familiar spec syntax, replacing the '-spec' keyword with '-callback'. Simple lint checks are performed to ensure that no callbacks are defined twice and all types referred are declared. These attributes can be then used by tools to provide documentation to the behaviour or find discrepancies in the callback definitions in the callback module.
Diffstat (limited to 'lib/otp_mibs/info')
0 files changed, 0 insertions, 0 deletions