--- a/swig/IECServiceAdmin.i +++ b/swig/IECServiceAdmin.i @@ -11,7 +11,7 @@ %apply MAPILIST {LPECSVRNAMELIST}; %apply MAPILIST * {LPECSERVERLIST* OUTPUT}; -%typemap(in,numinputs=0) (bool *OUTPUT) (bool bBool = NULL) { +%typemap(in,numinputs=0) (bool *OUTPUT) (bool bBool = 0) { $1 = &bBool; } %typemap(argout, fragment="SWIG_From_int") bool *OUTPUT{