diff options
author | Stavros Aronis <[email protected]> | 2010-05-30 23:42:34 +0300 |
---|---|---|
committer | Henrik Nord <[email protected]> | 2011-10-07 17:08:03 +0200 |
commit | 493262e2f024d3a0773b8a062c24de84b5cf21d5 (patch) | |
tree | 2b35e1b3e1f11be37609108dd62ae94baa513696 /bootstrap/lib/compiler/ebin/beam_asm.beam | |
parent | 0edb6a4d2d76960846fd04ecce3aa00b3348691b (diff) | |
download | otp-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 'bootstrap/lib/compiler/ebin/beam_asm.beam')
0 files changed, 0 insertions, 0 deletions