SWI-Prolog / packages-semweb

The SWI-Prolog RDF store
28 stars 14 forks source link

FIXED: Wrong argument type for PL_*_external() #102

Closed dmchurch closed 3 years ago

dmchurch commented 3 years ago

The SWI-Prolog.h external record functions use char * for the type of the external record data, but rdf_db is storing it and passing it as a record_t. Which went unnoticed when record_t was just a typedef for void *, but now causes (non-fatal) warnings during compilation, with the new opaque-struct-typed API header.