Ignore:
Timestamp:
Sep 26, 2019 12:06:07 PM (5 years ago)
Author:
riza
Message:

Re #2232: Fix build error for swig wrapper. This fix will allow swig to import the preprocessor in config_site.h and config.hpp.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/swig/pjsua2.i

    r6075 r6080  
    103103%ignore toPj; 
    104104 
    105 // C++11 deprecated dynamic exception specification, but SWIG needs it. 
    106 #ifndef SWIG 
    107 #   define PJSUA2_THROW(x) 
    108 #else 
    109 #   define PJSUA2_THROW(x) throw(x) 
    110 #endif 
    111  
     105%import "pj/config_site.h" 
     106%import "pjsua2/config.hpp" 
    112107 
    113108// 
Note: See TracChangeset for help on using the changeset viewer.