Add CPP macros to allow XSPICE macros to be used in local functions.

This commit is contained in:
Giles Atkinson 2026-05-07 18:36:54 +01:00 committed by Holger Vogt
parent 785be3194c
commit 96c81fd58c
1 changed files with 8 additions and 0 deletions

View File

@ -79,6 +79,14 @@ NON-STANDARD FEATURES
#endif
#endif
/* Define the type and standard name of the single argument to code-model
* functions as macros. These may be used to enable the use XSPICE macros
* in other functions of the code model.
*/
#define XSPICE_ARG_TYPE Mif_Private_t *
#define XSPICE_ARG mif_private
/*
* type safe variants of the <ctype.h> functions for char arguments
*/