fix C++ complaint.
This commit is contained in:
parent
4b3411e878
commit
eac1cc5b9d
@ -100,7 +100,7 @@ typedef void *function_t;
|
|||||||
#define fid_t PL_fid_t /* avoid AIX name-clash */
|
#define fid_t PL_fid_t /* avoid AIX name-clash */
|
||||||
|
|
||||||
typedef struct _PL_extension
|
typedef struct _PL_extension
|
||||||
{ char *predicate_name; /* Name of the predicate */
|
{ const char *predicate_name; /* Name of the predicate */
|
||||||
short arity; /* Arity of the predicate */
|
short arity; /* Arity of the predicate */
|
||||||
function_t function; /* Implementing functions */
|
function_t function; /* Implementing functions */
|
||||||
short flags; /* Or of PL_FA_... */
|
short flags; /* Or of PL_FA_... */
|
||||||
|
Reference in New Issue
Block a user