2002-07-20 Han-Wen <hanwen@cs.uu.nl>
[bpt/guile.git] / libguile / variable.h
index 6a6a8a0..7d03509 100644 (file)
  */
 #define SCM_VARIABLEP(X)      (!SCM_IMP (X) && SCM_TYP7(X) == scm_tc7_variable)
 #define SCM_VARIABLE_REF(V)   SCM_CELL_OBJECT_1 (V)
-#define SCM_VARIABLE_SET(V,X) SCM_SET_CELL_OBJECT_1 (V, X)
+#define SCM_VARIABLE_SET(V, X) SCM_SET_CELL_OBJECT_1 (V, X)
 #define SCM_VARIABLE_LOC(V)   ((SCM *) SCM_CELL_WORD_LOC ((V), 1))
 
 \f
 
-extern SCM scm_make_variable (SCM init);
-extern SCM scm_make_undefined_variable (void);
-extern SCM scm_variable_p (SCM obj);
-extern SCM scm_variable_ref (SCM var);
-extern SCM scm_variable_set_x (SCM var, SCM val);
-extern SCM scm_variable_bound_p (SCM var);
+SCM_API SCM scm_make_variable (SCM init);
+SCM_API SCM scm_make_undefined_variable (void);
+SCM_API SCM scm_variable_p (SCM obj);
+SCM_API SCM scm_variable_ref (SCM var);
+SCM_API SCM scm_variable_set_x (SCM var, SCM val);
+SCM_API SCM scm_variable_bound_p (SCM var);
 
-extern void scm_i_variable_print (SCM var, SCM port, scm_print_state *pstate);
+SCM_API void scm_i_variable_print (SCM var, SCM port, scm_print_state *pstate);
 
-extern void scm_init_variable (void);
+SCM_API void scm_init_variable (void);
 
 #endif  /* SCM_VARIABLE_H */