Changeset 20d9284 in git for libpolys/polys/pInline0.h
- Timestamp:
- Mar 23, 2011, 6:10:41 PM (13 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- c45b2dc39dc745a56b92c3c59742e2fbe4f23e07
- Parents:
- 630ca96539668c0d4cc157cc95f84f9a08e7d663
- git-author:
- Martin Lee <martinlee84@web.de>2011-03-23 18:10:41+01:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:04:12+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/polys/pInline0.h
r630ca9 r20d9284 26 26 * 27 27 ***************************************************************/ 28 PINLINE0 poly pReverse(poly p)29 {30 if (p == NULL || pNext(p) == NULL) return p;31 32 poly q = pNext(p), // == pNext(p)33 qn;34 pNext(p) = NULL;35 do36 {37 qn = pNext(q);38 pNext(q) = p;39 p = q;40 q = qn;41 }42 while (qn != NULL);43 return p;44 }45 28 46 29
Note: See TracChangeset
for help on using the changeset viewer.