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/rtree/rtree_udi.h
2015-10-13 08:17:51 +01:00

25 lines
506 B
C

#ifndef _RTREE_UDI_
#define _RTREE_UDI_
#include <YapInterface.h>
#include <udi.h>
#include "rtree.h"
#define SPEC "rtree"
/*Prolog term from :- udi(a(-,rtree,-)).*/
extern void *RtreeUdiInit
(YAP_Term spec, int arg, int arity);
extern void *RtreeUdiInsert
(void *control, YAP_Term term, int arg, void *data);
extern int RtreeUdiSearch
(void *control, int arg, Yap_UdiCallback callback, void *args);
extern int RtreeUdiDestroy(void *control);
void udi_rtree_init(void);
#endif /* _RTREE_UDI_ */