Changeset 89ccc1 in git


Ignore:
Timestamp:
Aug 17, 2005, 8:33:04 AM (19 years ago)
Author:
Michael Brickenstein <bricken@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
ecbe9f788a756ad5388e64482ea642e406a330be
Parents:
ef1452cd49d0a519c81e3ffe1bdf3b719b6d72eb
Message:
*bricken: some work


git-svn-id: file:///usr/local/Singular/svn/trunk@8509 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/python/wrapper.h

    ref1452 r89ccc1  
    1 //$Id: wrapper.h,v 1.3 2005-08-16 14:35:59 bricken Exp $
     1//$Id: wrapper.h,v 1.4 2005-08-17 06:33:04 bricken Exp $
    22#ifndef PYTHON_SINGULAR_WRAPPER_HEADER
    33#define PYTHON_SINGULAR_WRAPPER_HEADER
     
    77#include "numbers.h"
    88#include "febase.h"
     9
     10#include "Number.h"
    911#include "Poly.h"
    10 #include "Number.h"
    11 
    1212
    1313using namespace boost::python;
     14
    1415static boost::python::object Number_as_str(Number n)
    1516{
     
    5859    .def(self-=int())
    5960    .def(self/=int());
    60   boost::python::class_<Poly>("polynomial")
     61    boost::python::class_<Poly>("polynomial")
    6162    .def(boost::python::init <int>())
    6263    .def(boost::python::init <Poly>())
     
    99100/*     .def(self-=int()) */
    100101/*     .def(self/=int()); */
     102
    101103}
    102104#endif
Note: See TracChangeset for help on using the changeset viewer.