[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/boostorg/python/python313/test/docstring.cpp [Back]  [Original]

// Copyright David Abrahams 2002.
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include "test_class.hpp"

// Just use math.h here; trying to use std::pow() causes too much
// trouble for non-conforming compilers and libraries.
#include 

using namespace boost::python;

typedef test_class X;

X* create(int x)
{
    return new X(x);
}

unsigned long fact(unsigned long n)
{
    return n 

Web Proxy Viewer  |  New URL  |  Original Page