2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-22 05:22:45 +00:00

This commit was manufactured by cvs2svn to create branch

'unlabeled-1.2.2'.

[SVN r9019]
This commit is contained in:
nobody
2001-02-07 23:58:46 +00:00
parent f24a95c917
commit 82ef4c070d
85 changed files with 0 additions and 20444 deletions

View File

@@ -1,24 +0,0 @@
#include <boost/python/class_builder.hpp>
#include <boost/python/detail/import_extension_class.hpp>
namespace python = boost::python;
#include "store.h"
extern "C"
DL_EXPORT(void)
initnoncopyable_export()
{
try
{
python::module_builder this_module("noncopyable_export");
python::xptr_class_builder<store> store_class(this_module, "store");
store_class.def(python::constructor<int>());
store_class.def(&store::recall, "recall");
}
catch(...)
{
python::handle_exception(); // Deal with the exception for Python
}
}