Changeset 8062aa in git
- Timestamp:
- Sep 20, 2005, 2:22:59 PM (19 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 92a47336bf0758aed4525974ed9d7f6b8fdbb6af
- Parents:
- dbfb4710e3be017ee6ac29d2f2a8543580ee6bb5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/python/ring_wrap.h
rdbfb47 r8062aa 1 //$Id: ring_wrap.h,v 1. 3 2005-09-20 08:39:44bricken Exp $1 //$Id: ring_wrap.h,v 1.4 2005-09-20 12:22:59 bricken Exp $ 2 2 #ifndef RING_WRAP_HEADER 3 3 #define RING_WRAP_HEADER … … 7 7 Ring(ring r=currRing): pimpl(r){ 8 8 if (r!=NULL) 9 ++r->ref; 9 ++(r->ref); 10 } 11 Ring(const Ring& r2):pimpl(r2.pimpl){ 12 pimpl->ref++; 10 13 } 11 14 ~Ring(){ 12 15 if (pimpl!=NULL) 13 -- pimpl->ref;16 --(pimpl->ref); 14 17 } 15 18 };
Note: See TracChangeset
for help on using the changeset viewer.