#pragma once
|
|
#undef PG_FUNCTION_INFO_V1
|
#define PG_FUNCTION_INFO_V1(funcname) \
|
extern __declspec (dllexport) Datum funcname(PG_FUNCTION_ARGS); \
|
extern __declspec (dllexport) const Pg_finfo_record * CppConcat(pg_finfo_,funcname)(void); \
|
const Pg_finfo_record * \
|
CppConcat(pg_finfo_,funcname) (void) \
|
{ \
|
static const Pg_finfo_record my_finfo = { 1 }; \
|
return &my_finfo; \
|
} \
|
extern int no_such_variable
|
|