Refactor Swig_cparse_template_parms_expand()

Break up functionality in Swig_cparse_template_parms_expand() to make it
more readable / maintainable.
This commit is contained in:
William S Fulton 2022-12-12 23:37:21 +00:00
commit 1e73045da8
5 changed files with 141 additions and 66 deletions

View file

@ -68,7 +68,7 @@ extern "C" {
extern int Swig_cparse_template_expand(Node *n, String *rname, ParmList *tparms, Symtab *tscope);
extern Node *Swig_cparse_template_locate(String *name, ParmList *tparms, String *symname, Symtab *tscope);
extern void Swig_cparse_debug_templates(int);
extern ParmList *Swig_cparse_template_parms_expand(ParmList *instantiated_parameters, ParmList *temparms_input, Parm *targs, Node *nn);
extern ParmList *Swig_cparse_template_parms_expand(ParmList *instantiated_parameters, Node *primary);
#ifdef __cplusplus
}