1 2 // Documentation for use with the autodoc feature. 3 4 #ifdef SWIG_DOC_DOXYGEN_STYLE 5 %typemap(doc) SWIGTYPE "@param $1_name $1_type"; 6 %typemap(doc) SWIGTYPE * "@param $1_name $1_type"; 7 %typemap(doc) const SWIGTYPE & "@param $1_name $1_type"; 8 %typemap(doc) enum SWIGTYPE "@param $1_name enum $1_type"; 9 10 %typemap(doc) SWIGTYPE *INOUT, SWIGTYPE &INOUT "@param $1_name $1_type (input/output)"; 11 %typemap(doc) SWIGTYPE *INPUT, SWIGTYPE &INPUT "@param $1_name $1_type (input)"; 12 %typemap(doc) SWIGTYPE *OUTPUT, SWIGTYPE &OUTPUT "@param $1_name $1_type (output)"; 13 #else 14 %typemap(doc) SWIGTYPE "$1_name: $1_type"; 15 %typemap(doc) SWIGTYPE * "$1_name: $1_type"; 16 %typemap(doc) const SWIGTYPE & "$1_name: $1_type"; 17 %typemap(doc) enum SWIGTYPE "$1_name: enum $1_type"; 18 19 %typemap(doc) SWIGTYPE *INOUT, SWIGTYPE &INOUT "$1_name: $1_type (input/output)"; 20 %typemap(doc) SWIGTYPE *INPUT, SWIGTYPE &INPUT "$1_name: $1_type (input)"; 21 %typemap(doc) SWIGTYPE *OUTPUT, SWIGTYPE &OUTPUT "$1_name: $1_type (output)"; 22 #endif 23