Open HelloRayDeng opened 1 month ago
But this is something that we should be able to skip with Info.linePatterns().skip()
But this is something that we should be able to skip with Info.linePatterns().skip()
Hi, but I just tried with your solution like this: inforMap.put(new Info("soamaster::Scope& operator=(const soamaster::Scope&)").linePatterns().skip())
, which still does not work by me. Can you please show me how to use it in details? Thanks.
There's an example here: https://github.com/bytedeco/javacpp/wiki/Mapping-Recipes#skipping-lines-from-header-files
Situation: I am keeping getting org.bytedeco.javacpp.tools.ParserException as shown below at the code line like this
Scope & operator = (const Scope&) = delete;
by using JavaCPP.Here is the ParserException message, which shows "Could not parse declaration at 'delete'":
Here is my cpp code of 'scope.hpp':
Here is my java code using InfoMapper:
Trying: I have already set a few Info objects in infoMap to skip parsing those methods with delete syntax, which work for constructors, but not for the opearator= with delete, and always failed with this ParserException: Could not parse declaration at 'delete'? Can someone please tell me how can I solve this problem? How should I handle this operator override with delete syntax in javacpp? Thanks for help!