Ignore:
Timestamp:
Jul 19, 2013 10:32:43 AM (9 years ago)
Author:
nanang
Message:

JNI projects: handle nested struct/union for SWIG

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/jni/pjsip-apps/src/jni/jni/header.i

    r4568 r4570  
    7878MY_JAVA_MEMBER_ARRAY_OF_POINTER(pjmedia_sdp_media, pjmedia_sdp_attr, attr, attr_count) 
    7979 
    80 /* C++ SWIG target doesn't support nested class (C version does though!). 
    81  * This is minimal workaround, ignore nested class as if it is not there. 
    82  * TODO: proper workaround will be moving out inner classes to global scope. 
    83  */ 
    84 #ifdef __cplusplus 
    85     %nestedworkaround pjmedia_codec_fmtp::param; 
    86     %nestedworkaround pjsip_cred_info::ext; 
    87     %nestedworkaround pjsip_event::body; 
    88 #endif 
    89  
    9080%include "../callbacks.i" 
    9181 
Note: See TracChangeset for help on using the changeset viewer.