aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_server/README
diff options
context:
space:
mode:
authorStavros Aronis <[email protected]>2010-05-30 23:42:34 +0300
committerHenrik Nord <[email protected]>2011-10-07 17:08:03 +0200
commit493262e2f024d3a0773b8a062c24de84b5cf21d5 (patch)
tree2b35e1b3e1f11be37609108dd62ae94baa513696 /lib/test_server/README
parent0edb6a4d2d76960846fd04ecce3aa00b3348691b (diff)
downloadotp-493262e2f024d3a0773b8a062c24de84b5cf21d5.tar.gz
otp-493262e2f024d3a0773b8a062c24de84b5cf21d5.tar.bz2
otp-493262e2f024d3a0773b8a062c24de84b5cf21d5.zip
Automatically generate 'behaviour_info' function from '-callback' attributes
'behaviour_info(callbacks)' is a special function that is defined in a module which describes a behaviour and returns a list of its callbacks. This function is now automatically generated using the '-callback' specs. An error is returned by lint if user defines both '-callback' attributes and the behaviour_info/1 function. If no type info is needed for a callback use a generic spec for it.
Diffstat (limited to 'lib/test_server/README')
0 files changed, 0 insertions, 0 deletions