This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/packages/udi/uthash/uthash_udi.h

25 lines
505 B
C
Raw Normal View History

2015-10-13 08:17:51 +01:00
#ifndef _UTHASH_UDI_
#define _UTHASH_UDI_
#include <YapInterface.h>
#include <udi.h>
#include "uthash.h"
#define SPEC "#"
/*Prolog term from :- udi(a(#,-)).*/
extern void *UTHashUdiInit
(YAP_Term spec, int arg, int arity);
extern void *UTHashUdiInsert
(void *control, YAP_Term term, int arg, void *data);
extern int UTHashUdiSearch
(void *control, int arg, Yap_UdiCallback callback, void *args);
extern int UTHashUdiDestroy(void *control);
void udi_uthash_init(void);
#endif /* _UTHASH_UDI_ */