Sha256: 2929749cfda92e47fa0142c4a30e7b385ac138f7dfe421cb04847b5a3b594174

Contents?: true

Size: 341 Bytes

Versions: 21

Compression:

Stored size: 341 Bytes

Contents

#ifndef Exc_Ruby___cpp__st__hpp_
#define Exc_Ruby___cpp__st__hpp_

/*! \file
 * \brief Hacks to allow functions in st.h to be called from C++
 * programs.
 */

#include "ruby.hpp"

// Ruby doesn't put extern "C" around st.h

extern "C"
{
#ifdef RUBY_VM
#include "ruby/st.h"
#else
#include "st.h"
#endif
}

#endif // Exc_Ruby___cpp__st__hpp_

Version data entries

21 entries across 21 versions & 3 rubygems

Version Path
rice-3.0.0 rice/detail/st.hpp
rice2-2.2.1 rice/detail/st.hpp
rice2-2.2.0 rice/detail/st.hpp
rice-2.2.0 rice/detail/st.hpp
rice-2.1.3 rice/detail/st.hpp
rice-2.1.2 rice/detail/st.hpp
rice-2.1.1 rice/detail/st.hpp
rice-2.1.0 rice/detail/st.hpp
rice-2.0.0 rice/detail/st.hpp
rice-1.7.0 rice/detail/st.hpp
rice-1.6.3 rice/detail/st.hpp
rice-1.6.2 rice/detail/st.hpp
rice-1.6.1 rice/detail/st.hpp
rice-1.6.0 rice/detail/st.hpp
rice-1.6.0.pre rice/detail/st.hpp
rice-1.5.3 rice/detail/st.hpp
rice-1.5.2 rice/detail/st.hpp
keyme-rice-1.5.1.keyme1 rice/detail/st.hpp
keyme-rice-1.5.1.keyme rice/detail/st.hpp
rice-1.5.1 rice/detail/st.hpp