Hi, I found a problem in pjsua2/config.hpp. This file includes pjsua-lib/pjsua.h without an extern “C” declaration. This makes it impossible to call any of the C-API functions, if I otherwise use the pjsua2 API, because they are connected through
this include-chain: pjsua2.hpp -> ... (any of those) -> pjsua2/persistent.hpp -> pjsua2/types.hpp -> pjsua2/config.hpp -> pjsua-lib/pjsua.h So I guess that’s a bug? The fix would be simple: extern "C" { #include <pjsua-lib/pjsua.h> } BR, Georg |
_______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@xxxxxxxxxxxxxxx http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org