gnucap/gnucap-models.git -

index : gnucap/gnucap-models.git
summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat
-rw-r--r--include/spice-wrapper.cc 5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/spice-wrapper.cc b/include/spice-wrapper.cc
index f02d773a..62f96a5d 100644
--- a/include/spice-wrapper.cc
+++ b/include/spice-wrapper.cc
@@ -1708,6 +1708,8 @@ double DEV_SPICE::noise_num(const std::string& x)const
}
}
/*--------------------------------------------------------------------------*/
+} // namespace
+/*--------------------------------------------------------------------------*/
extern "C" {
// needed to satisfy references. Supposedly unreachable. Stubs.
char *errMsg = NULL;
@@ -2127,6 +2129,7 @@ private:
}
};
/*--------------------------------------------------------------------------*/
+namespace {
/*--------------------------------------------------------------------------*/
int MODEL_SPICE::_count = -1;
int DEV_SPICE::_count = -1;
@@ -2140,7 +2143,7 @@ static MODEL_SPICE p1(&p0);
static DISPATCHER<MODEL_CARD>::INSTALL
d1(&model_dispatcher, MODEL_TYPE, &p1);
/*--------------------------------------------------------------------------*/
-}
+} // namespace
/*--------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------*/
// vim:ts=8:sw=2:noet:
generated by cgit v1.2.3 (git 2.25.1) at 2025年11月25日 21:21:46 +0000

AltStyle によって変換されたページ (->オリジナル) /