From 83e2b284f313d7a7a2eaa8c4e78938aa46df6942 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Wed, 3 Dec 2025 22:51:54 +0100 Subject: [PATCH] Add missing function prototypes --- src/include/ngspice/sharedspice.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/include/ngspice/sharedspice.h b/src/include/ngspice/sharedspice.h index b932868ff..d1efd4305 100644 --- a/src/include/ngspice/sharedspice.h +++ b/src/include/ngspice/sharedspice.h @@ -497,6 +497,19 @@ int ngSpice_nospinit(void); IMPEXP int ngSpice_nospiceinit(void); +/* Locking and unlocking the realloc of output vectors during simulation. May be set +during reading output vectors in the primary thread, while the simulation in the +background thread is moving on. */ +IMPEXP +int ngSpice_LockRealloc(void); + +IMPEXP +int ngSpice_UnlockRealloc(void); + +/* Reset ngspice as far as possible. */ +IMPEXP +int ngSpice_Reset(void); + #ifdef __cplusplus } #endif