mirror of
https://github.com/boostorg/python.git
synced 2026-01-22 05:22:45 +00:00
20 lines
349 B
C++
20 lines
349 B
C++
#ifndef SHARED_HPP
|
|
#define SHARED_HPP
|
|
|
|
#include "boost/python/module_builder.hpp"
|
|
#include "boost/python/class_builder.hpp"
|
|
|
|
struct Shared
|
|
{
|
|
virtual char const * name() const { return "Shared"; }
|
|
};
|
|
|
|
|
|
char const * test(Shared const & m);
|
|
|
|
struct DefineFromPythonForShared
|
|
: python_extension_class_converters<Shared>
|
|
{};
|
|
|
|
#endif /* SHARED_HPP */
|