mirror of
https://git.code.sf.net/p/ngspice/ngspice
synced 2026-09-06 20:46:42 +02:00
findsubckt(), constness
This commit is contained in:
@@ -64,7 +64,7 @@ void initdico(dico_t *);
|
||||
int donedico(dico_t *);
|
||||
void dico_free_entry(entry_t *);
|
||||
bool defsubckt(dico_t *, struct card *, nupa_type categ);
|
||||
int findsubckt(dico_t *, char *s);
|
||||
int findsubckt(dico_t *, const char *s);
|
||||
bool nupa_substitute(dico_t *, const char *s, char *r);
|
||||
bool nupa_assignment(dico_t *, const char *s, char mode);
|
||||
bool nupa_subcktcall(dico_t *, char *s, char *x, char *inst_name);
|
||||
|
||||
@@ -543,7 +543,7 @@ defsubckt(dico_t *dico, struct card *card, nupa_type categ)
|
||||
|
||||
|
||||
int
|
||||
findsubckt(dico_t *dico, char *s)
|
||||
findsubckt(dico_t *dico, const char * const s)
|
||||
/* input: s is a subcircuit invocation line.
|
||||
returns 0 if not found, else the stored definition line number value */
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user