Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt to changed semantics of "type f();" in C23 #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/SWI-Prolog.h
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ typedef _PLS(PL_local_data) *PL_engine_t; /* opaque engine handle */
typedef uintptr_t PL_atomic_t; /* same a word */
typedef uintptr_t foreign_t; /* return type of foreign functions */
typedef wchar_t pl_wchar_t; /* Prolog wide character */
#ifdef __cplusplus
#if defined(__cplusplus) || __STDC_VERSION__ > 201710L
typedef void * pl_function_t; /* pass function as void* */
#else
typedef foreign_t (*pl_function_t)(); /* foreign language functions */
Expand Down
Loading