PostgreSQL Source Code git master
Loading...
Searching...
No Matches
test_cplusplusext.cpp File Reference
#include "postgres.h"
#include "fmgr.h"
Include dependency graph for test_cplusplusext.cpp:

Go to the source code of this file.

Functions

 PG_FUNCTION_INFO_V1 (test_cplusplus_add)
 
Datum test_cplusplus_add (PG_FUNCTION_ARGS)
 

Variables

 PG_MODULE_MAGIC
 

Function Documentation

◆ PG_FUNCTION_INFO_V1()

PG_FUNCTION_INFO_V1 ( test_cplusplus_add  )

◆ test_cplusplus_add()

Datum test_cplusplus_add ( PG_FUNCTION_ARGS  )

Definition at line 31 of file test_cplusplusext.cpp.

32{
35
37}
int32_t int32
Definition c.h:542
#define PG_RETURN_INT32(x)
Definition fmgr.h:355
#define PG_GETARG_INT32(n)
Definition fmgr.h:269
int b
Definition isn.c:74
int a
Definition isn.c:73

References a, b, PG_GETARG_INT32, and PG_RETURN_INT32.

Variable Documentation

◆ PG_MODULE_MAGIC

PG_MODULE_MAGIC

Definition at line 21 of file test_cplusplusext.cpp.