Sha256: 52a6558ca6ecb76e3a16672124f88e830a28fdce46d8db7a18992be2b33bae14

Contents?: true

Size: 885 Bytes

Versions: 34

Compression:

Stored size: 885 Bytes

Contents

#ifndef Rice__detail__creation_funcs__hpp_
#define Rice__detail__creation_funcs__hpp_

namespace Rice
{

class Class;

namespace detail
{

//! Like define_alloc_func, but allows the user to define an
//! "initialize" method too.
template<typename Initialize_Func_T>
void define_creation_funcs(
    Class const & klass,
    RUBY_VALUE_FUNC allocate_func,
    Initialize_Func_T initialize_func);

//! This is just the opposite of define_alloc_func.  It can be
//! used to create a class that cannot be instantiated by the user.
void undef_alloc_func(
    Class const & klass);

//! This is just the opposite of define_creation_func.  It can be
//! used to create a class that cannot be instantiated by the user.
void undef_creation_funcs(
    Class const & klass);

} // namespace detail

} // namespace Rice

#include "creation_funcs.ipp"

#endif // Rice__detail__creation_funcs__hpp_

Version data entries

34 entries across 34 versions & 6 rubygems

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