~ubuntu-branches/ubuntu/lucid/erlang/lucid-proposed

« back to all changes in this revision

Viewing changes to lib/ic/examples/pre_post_condition/tracer.erl

  • Committer: Bazaar Package Importer
  • Author(s): Sergei Golovan
  • Date: 2009-06-11 12:18:07 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20090611121807-ks7eb4xrt7dsysgx
Tags: 1:13.b.1-dfsg-1
* New upstream release.
* Removed unnecessary dependency of erlang-os-mon on erlang-observer and
  erlang-tools and added missing dependency of erlang-nox on erlang-os-mon
  (closes: #529512).
* Removed a patch to eunit application because the bug was fixed upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
%%-----------------------------------------------------------------
42
42
%% External functions
43
43
%%-----------------------------------------------------------------
44
 
pre(M, F, [State, I]) when integer(I) ->
 
44
pre(M, F, [State, I]) when is_integer(I) ->
45
45
    io:format("Precond called in process ~p: ~s:~s() ~p\n", [self(), M, F,  [State, I]]),
46
46
    ok;
47
47
pre(_M, _F, _A) -> %% Just an silly example to get an exception case