[ 
https://issues.apache.org/jira/browse/DISPATCH-2272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiri Daněk updated DISPATCH-2272:
---------------------------------
    Description: 
Dispatch requires that all C functions it calls be exported, because it looks 
them up as if in a dynamic library. This is important on Windows, where 
functions are unexported by default.

On Windows, use {{__declspec(dllexport)}} to turn on exporting. Without it, the 
functions will not be found from Python.

Edit: rescoped to only add Linux attributes.

  was:
Dispatch requires that all C functions it calls be exported, because it looks 
them up as if in a dynamic library. This is important on Windows, where 
functions are unexported by default.

On Windows, use {{__declspec(dllexport)}} to turn on exporting. Without it, the 
functions will not be found from Python.


> Mark all functions called from Python with QD_EXPORT
> ----------------------------------------------------
>
>                 Key: DISPATCH-2272
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-2272
>             Project: Qpid Dispatch
>          Issue Type: Sub-task
>    Affects Versions: 1.17.0
>            Reporter: Jiri Daněk
>            Assignee: Jiri Daněk
>            Priority: Major
>             Fix For: 1.19.0
>
>
> Dispatch requires that all C functions it calls be exported, because it looks 
> them up as if in a dynamic library. This is important on Windows, where 
> functions are unexported by default.
> On Windows, use {{__declspec(dllexport)}} to turn on exporting. Without it, 
> the functions will not be found from Python.
> Edit: rescoped to only add Linux attributes.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to