On 18/04/2018 04:01, Dev wrote:
> What encoding is used for in/out strings in:
>
> function IExternalContext.getUserName(): PAnsiChar;
> function IExternalContext.getDatabaseName(): PAnsiChar;
> function IExternalContext.getClientCharSet(): PAnsiChar;
>
> function IRoutineMetadata.getPackage(status: IStatus): PAnsiChar;
> function IRoutineMetadata.getName(status: IStatus): PAnsiChar;
> function IRoutineMetadata.getEntryPoint(status: IStatus): PAnsiChar;
> function IRoutineMetadata.getBody(status: IStatus): PAnsiChar;
> function IRoutineMetadata.getTriggerTable(status: IStatus): PAnsiChar;
>
>

https://github.com/FirebirdSQL/firebird/blob/master/src/include/firebird/FirebirdInterface.idl


interface ExternalEngine : PluginBase
{
    // This method is called once (per ExternalEngine instance) before
any following methods.
    // The requested character set for data exchange inside methods of
this interface should
    // be copied to charSet parameter.
    // During this call, the context uses the UTF-8 character set.
    void open(Status status, ExternalContext context,
        string charSet, uint charSetSize);


interface ExternalFunction : Disposable
{
    // This method is called just before execute and informs the engine
our requested character
    // set for data exchange inside that method.
    // During this call, the context uses the character set obtained
from ExternalEngine::getCharSet.
    void getCharSet(Status status, ExternalContext context,
        string name, uint nameSize);


...


Adriano


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to