mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-11 14:21:10 +02:00
Bugfix: Include <libguile.h> outside of the extern "C"
block.
This commit is contained in:
parent
f0a9ab4d90
commit
73a90115e6
2 changed files with 10 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2005-02-27 Mikael Djurfeldt <djurfeldt@nada.kth.se>
|
||||||
|
|
||||||
|
* gh.h: Bugfix: Include <libguile.h> outside of the extern "C"
|
||||||
|
block.
|
||||||
|
|
||||||
2005-02-25 Marius Vollmer <mvo@zagadka.de>
|
2005-02-25 Marius Vollmer <mvo@zagadka.de>
|
||||||
|
|
||||||
* hashtab.c (scm_i_rehash): Remove elements from old bucket vector
|
* hashtab.c (scm_i_rehash): Remove elements from old bucket vector
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (C) 1995,1996,1997,1998,2000,2001 Free Software Foundation, Inc.
|
/* Copyright (C) 1995,1996,1997,1998,2000,2001, 2005 Free Software Foundation, Inc.
|
||||||
*
|
*
|
||||||
* This library is free software; you can redistribute it and/or
|
* This library is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
* modify it under the terms of the GNU Lesser General Public
|
||||||
|
@ -19,12 +19,14 @@
|
||||||
#ifndef __GH_H
|
#ifndef __GH_H
|
||||||
#define __GH_H
|
#define __GH_H
|
||||||
|
|
||||||
|
/* This needs to be included outside of the extern "C" block.
|
||||||
|
*/
|
||||||
|
#include <libguile.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <libguile.h>
|
|
||||||
|
|
||||||
/* gcc has extern inline functions that are basically as fast as macros */
|
/* gcc has extern inline functions that are basically as fast as macros */
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
# define INL inline
|
# define INL inline
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue