diff options
author | Stavros Aronis <[email protected]> | 2010-05-30 20:02:39 +0300 |
---|---|---|
committer | Henrik Nord <[email protected]> | 2011-10-07 17:08:03 +0200 |
commit | 0edb6a4d2d76960846fd04ecce3aa00b3348691b (patch) | |
tree | 0838ba0f3a3c744b91e50f5e3bd50738fbfa165b /lib/stdlib/src/dets.hrl | |
parent | 00202339445daae6ed931f28f932089d5c3dd455 (diff) | |
download | otp-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/stdlib/src/dets.hrl')
0 files changed, 0 insertions, 0 deletions