Guest User

Untitled

a guest
Nov 20th, 2018
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. -module(my_behaviour).
  2. -export([behaviour_info/1]).
  3.  
  4. %% init/1, some_fun/0 and other/3 are now expected callbacks
  5. behaviour_info(callbacks) -> [{init,1}, {some_fun, 0}, {other, 3}];
  6. behaviour_info(_) -> undefined.
Add Comment
Please, Sign In to add comment