diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2012-11-09 10:57:39 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2012-11-09 10:57:39 +0100 |
commit | c866029449a815764e3c8525bf17dac72280a72a (patch) | |
tree | 3630d3ab361f4224ff1503756eeed54c6341e495 | |
parent | 320f3b89263b9c775fd9bfa649b1cb8ad3c0f8b2 (diff) | |
download | wbs-c866029449a815764e3c8525bf17dac72280a72a.tar.gz wbs-c866029449a815764e3c8525bf17dac72280a72a.tar.bz2 wbs-c866029449a815764e3c8525bf17dac72280a72a.zip |
pd_client: Use atom_codes/2 instead of name/2
As its recommended by the gprolog documentation
-rw-r--r-- | pd_client.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pd_client.pl b/pd_client.pl index a484370..5e6c5b0 100644 --- a/pd_client.pl +++ b/pd_client.pl @@ -27,4 +27,4 @@ loop(StreamIn, StreamOut, Module, ModuleState, Hist) :- % -1 = EOF byte_to_atom(-1, e):-!. -byte_to_atom(Byte, Atom):-name(Atom, [Byte]). +byte_to_atom(Byte, Atom):-atom_codes(Atom, [Byte]). |