Hash :
a9077c87
Author :
Thomas de Grivel
Date :
2025-09-04T01:19:32
wip memory corruption or bug in facts_remove_fact
/* kc3
* Copyright from 2022 to 2025 kmx.io <contact@kmx.io>
*
* Permission is hereby granted to use this software granted the above
* copyright notice and this permission paragraph are included in all
* copies and substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
#ifndef LIBKC3_PCALL_H
#define LIBKC3_PCALL_H
#include "types.h"
/* Call pcall_clean after use. */
void pcall_clean (p_call *pcall);
p_call * pcall_init (p_call *pcall);
p_call * pcall_init_1 (p_call *pcall, const char *p);
p_call * pcall_init_call_cast (p_call *pcall, const s_sym *type);
p_call * pcall_init_cast (p_call *pcall, p_sym *type, s_tag *src);
p_call * pcall_init_copy (p_call *pcall, p_call *src);
#endif /* LIBKC3_PCALL_H */