users-prolog
[Top][All Lists]
Advanced

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

Catching errors / calloc / free


From: emacstheviking
Subject: Catching errors / calloc / free
Date: Wed, 6 May 2015 13:25:18 +0100

If I have used Pl_Rd_Proper_List_Check, and then during iteration I use Pl_Rd_Atom_Check to ensure I have a list of atoms only, how can I ensure I don't leak memory if a non-atom is passed?

Currently the only way I can see is to use the non _Check version and manage it myself.

And what on earth is ...
#define PL_ERR_TYPE                X1_24706C5F6572725F74797065

Awesome!
:)


reply via email to

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