Calling C++ function - Mailing list pgsql-interfaces

From Oliver Archner
Subject Calling C++ function
Date
Msg-id 411CB6B8.1050909@bitoek.uni-bayreuth.de
Whole thread Raw
Responses Re: Calling C++ function
List pgsql-interfaces
Hi,

i'm trying to write a user-defined C function which creates a thumbnail 
out of a base64 encoded string. The ImageMagick C++ API provides exactly 
the functionality i need. So i would like to use these C++ functions.
I figured out that i have to define the entry point function with C
linkage (extern "C" { ... }).
Can anyone point me to example which calls a C++ function from a dynamic 
library ?

-- 
Oliver Archner
Tel.: 0921/55-5727
Fax.: 0921/55-5799
BITÖK Wissenschaftliches Sekretariat
Universität Bayreuth
D-95440 Bayreuth



pgsql-interfaces by date:

Previous
From: Tom Lane
Date:
Subject: Re: large object I/O seeing \\xxx encoding with v3 protocol
Next
From: Eric Marsden
Date:
Subject: Large object reads/writes undergoing \\xxx escaping