Added support for templated methods in InoToCPPConverter (#858)
* Added support for templated methods in InoToCPPConverter
This commit is contained in:
@@ -32,6 +32,7 @@ from platformio import util
|
||||
class InoToCPPConverter(object):
|
||||
|
||||
PROTOTYPE_RE = re.compile(r"""^(
|
||||
(?:template\<.*\>\s*)? # template
|
||||
([a-z_\d]+\*?\s+){1,2} # return type
|
||||
([a-z_\d]+\s*) # name of prototype
|
||||
\([a-z_,\.\*\&\[\]\s\d]*\) # arguments
|
||||
|
||||
Reference in New Issue
Block a user