mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +02:00
* deprecated.h (scm_create_hook), version.h.in (scm_major_version,
scm_minor_version, scm_micro_version, scm_effective_version, scm_version, scm_init_version): Use SCM_API instead of just extern, for the benefit of mingw. Reported by Cesar Strauss.
This commit is contained in:
parent
4a317cc5a8
commit
95764e4ce3
2 changed files with 8 additions and 8 deletions
|
@ -5,7 +5,7 @@
|
|||
#ifndef SCM_DEPRECATED_H
|
||||
#define SCM_DEPRECATED_H
|
||||
|
||||
/* Copyright (C) 2003,2004, 2005, 2006 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 2003,2004, 2005, 2006, 2007 Free Software Foundation, Inc.
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
|
@ -164,7 +164,7 @@ SCM_API SCM scm_make_gsubr_with_generic (const char *name,
|
|||
SCM (*fcn)(),
|
||||
SCM *gf);
|
||||
|
||||
extern SCM scm_create_hook (const char* name, int n_args);
|
||||
SCM_API SCM scm_create_hook (const char* name, int n_args);
|
||||
|
||||
#define SCM_LIST0 SCM_EOL
|
||||
#define SCM_LIST1(e0) scm_cons ((e0), SCM_EOL)
|
||||
|
|
|
@ -30,12 +30,12 @@
|
|||
#define SCM_MINOR_VERSION @-GUILE_MINOR_VERSION-@
|
||||
#define SCM_MICRO_VERSION @-GUILE_MICRO_VERSION-@
|
||||
|
||||
extern SCM scm_major_version (void);
|
||||
extern SCM scm_minor_version (void);
|
||||
extern SCM scm_micro_version (void);
|
||||
extern SCM scm_effective_version (void);
|
||||
extern SCM scm_version (void);
|
||||
extern void scm_init_version (void);
|
||||
SCM_API SCM scm_major_version (void);
|
||||
SCM_API SCM scm_minor_version (void);
|
||||
SCM_API SCM scm_micro_version (void);
|
||||
SCM_API SCM scm_effective_version (void);
|
||||
SCM_API SCM scm_version (void);
|
||||
SCM_API void scm_init_version (void);
|
||||
|
||||
#endif /* SCM_VERSION_H */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue