Skip to content
Closed
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
4 changes: 3 additions & 1 deletion XSUB.h
Original file line number Diff line number Diff line change
Expand Up @@ -188,10 +188,12 @@ is a lexical C<$_> in scope.

#define dXSI32 I32 ix = XSANY.any_i32

#ifdef __cplusplus
#if defined(__cplusplus) || __STDC_VERSION__ >= 202311L
# define XSINTERFACE_CVT(ret,name) ret (*name)(...)
# define XSINTERFACE_CVT_ANON(ret) ret (*)(...)
#else
/* In C standards before C23, an empty prototype means that the function takes
* an unspecified number of arguments. */
# define XSINTERFACE_CVT(ret,name) ret (*name)()
# define XSINTERFACE_CVT_ANON(ret) ret (*)()
#endif
Expand Down
Loading