summaryrefslogtreecommitdiff
path: root/libguile/smob.h
diff options
context:
space:
mode:
authorDirk Herrmann <dirk@dirk-herrmanns-seiten.de>2001-04-21 21:50:08 +0000
committerDirk Herrmann <dirk@dirk-herrmanns-seiten.de>2001-04-21 21:50:08 +0000
commit7a7f7c5314d3e5c62a2b0d56ea2b3e404948e431 (patch)
tree944bbe698ece162924af9ce24dd4689836f3ba04 /libguile/smob.h
parente1368a8d44acdae6eb45fb921a6760dbd6356942 (diff)
downloadguile-7a7f7c5314d3e5c62a2b0d56ea2b3e404948e431.tar.gz
* Made creation of new smob types thread safe.
* Minor cleanups to smob usage.
Diffstat (limited to 'libguile/smob.h')
-rw-r--r--libguile/smob.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/libguile/smob.h b/libguile/smob.h
index aee18b557..5c1a56e8e 100644
--- a/libguile/smob.h
+++ b/libguile/smob.h
@@ -1,8 +1,8 @@
/* classes: h_files */
-#ifndef SMOBH
-#define SMOBH
-/* Copyright (C) 1995, 1996, 1998, 1999, 2000 Free Software Foundation, Inc.
+#ifndef SCM_SMOB_H
+#define SCM_SMOB_H
+/* Copyright (C) 1995,1996,1998,1999,2000,2001 Free Software Foundation, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -125,7 +125,7 @@ do { \
#define SCM_SMOB_APPLY_3(x,a1,a2,rst) (SCM_SMOB_DESCRIPTOR (x).apply_3 (x, (a1), (a2), (rst)))
extern int scm_numsmob;
-extern scm_smob_descriptor *scm_smobs;
+extern scm_smob_descriptor scm_smobs[];
@@ -179,7 +179,7 @@ extern void scm_set_smob_mfpe (long tc,
#endif /* SCM_DEBUG_DEPRECATED == 0 */
-#endif /* SMOBH */
+#endif /* SCM_SMOB_H */
/*
Local Variables: