PL_malloc and friends should call malloc, not Yap_Alloc

This commit is contained in:
Vitor Santos Costa
2010-11-24 08:44:03 +00:00
parent bd59f1e908
commit 69cde79ba6
2 changed files with 25 additions and 13 deletions

View File

@@ -513,8 +513,8 @@ extern X_API int PL_recorded_external(char *, term_t);
extern X_API int PL_erase_external(char *);
extern X_API int PL_action(int,...);
extern X_API void PL_on_halt(void (*)(int, void *), void *);
extern X_API void *PL_malloc(int);
extern X_API void *PL_realloc(void*,int);
extern X_API void *PL_malloc(size_t);
extern X_API void *PL_realloc(void*,size_t);
extern X_API void PL_free(void *);
extern X_API int PL_eval_expression_to_int64_ex(term_t t, int64_t *val);
extern X_API void PL_cleanup_fork(void);