From e56fed2c88d3191b7944f26424e4c797380d4c8e Mon Sep 17 00:00:00 2001 From: Dan Gudmundsson Date: Wed, 16 Aug 2017 16:42:58 +0200 Subject: Update so that doxygen 1.8.11 can generate code Fix some configurations so that it works with new doxygen and with complete install outside of /usr/include/wx... --- lib/wx/api_gen/wx_gen.erl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'lib/wx/api_gen/wx_gen.erl') diff --git a/lib/wx/api_gen/wx_gen.erl b/lib/wx/api_gen/wx_gen.erl index 6979a600f3..aadfe4b111 100644 --- a/lib/wx/api_gen/wx_gen.erl +++ b/lib/wx/api_gen/wx_gen.erl @@ -501,10 +501,11 @@ parse_member2(_, _,M0) -> M0. add_param(InParam, Opts, M0) -> - Param0 = case InParam#param.name of - undefined -> InParam#param{name="val"}; + Param0 = case {InParam#param.name, InParam#param.type} of + {undefined, void} -> InParam#param{where=nowhere}; + {undefined,_} -> InParam#param{name="val"}; _ -> InParam - end, + end, Param = case Param0#param.type of #type{base={comp,_,_Comp}} -> Param0; #type{base={class,_Class}} -> Param0; -- cgit v1.2.3