From c866029449a815764e3c8525bf17dac72280a72a Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Fri, 9 Nov 2012 10:57:39 +0100 Subject: pd_client: Use atom_codes/2 instead of name/2 As its recommended by the gprolog documentation --- pd_client.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]). -- cgit