users-prolog
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

fast and safe comparison of variables in foreign code?


From: Erick Alphonse
Subject: fast and safe comparison of variables in foreign code?
Date: Sat, 06 Dec 2003 12:30:32 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031015

Hello,

I want to test equality and inequality of variables in foreign code (C++) but I would like to avoid the overhead of calling Blt_Term_Eq and Blt_Term_Neq (they are defined as functions, not as macros) and use == and != operators instead.

Does someone know if it is a safe way to do comparison of variables? I guess it depends on the way the interface passes the variable arguments?

Thanks in advance for your help,
Regards,
Erick.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]