Changeset 85e68dd in git for Singular/silink.cc
- Timestamp:
- Mar 19, 2008, 6:44:38 PM (16 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 0e8683ce70a557cd606e08f67660015d94bf8c34
- Parents:
- 36b7a3a23287fa7372c89db467c4ffab4d6268d4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/silink.cc
r36b7a3 r85e68dd 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: silink.cc,v 1.4 6 2007-11-09 14:04:45Singular Exp $ */4 /* $Id: silink.cc,v 1.47 2008-03-19 17:44:37 Singular Exp $ */ 5 5 6 6 /* … … 42 42 static BOOLEAN DumpAscii(FILE *fd, idhdl h); 43 43 static BOOLEAN DumpAsciiIdhdl(FILE *fd, idhdl h); 44 static c har* GetIdString(idhdl h);44 static const char* GetIdString(idhdl h); 45 45 static int DumpRhs(FILE *fd, idhdl h); 46 static BOOLEAN DumpQring(FILE *fd, idhdl h, c har *type_str);46 static BOOLEAN DumpQring(FILE *fd, idhdl h, const char *type_str); 47 47 static BOOLEAN DumpAsciiMaps(FILE *fd, idhdl h, idhdl rhdl); 48 48 static si_link_extension slTypeInit(si_link_extension s, const char* type); … … 153 153 } 154 154 155 c har* slStatus(si_link l, char *request)155 const char* slStatus(si_link l, char *request) 156 156 { 157 157 if (l == NULL) return "empty link"; … … 373 373 BOOLEAN slOpenAscii(si_link l, short flag) 374 374 { 375 c har *mode;375 const char *mode; 376 376 if (flag & SI_LINK_OPEN) 377 377 { … … 520 520 } 521 521 522 c har* slStatusAscii(si_link l, char* request)522 const char* slStatusAscii(si_link l, char* request) 523 523 { 524 524 if (strcmp(request, "read") == 0) … … 604 604 static BOOLEAN DumpAsciiIdhdl(FILE *fd, idhdl h) 605 605 { 606 c har *type_str = GetIdString(h);606 const char *type_str = GetIdString(h); 607 607 idtyp type_id = IDTYP(h); 608 608 … … 660 660 } 661 661 662 static c har* GetIdString(idhdl h)662 static const char* GetIdString(idhdl h) 663 663 { 664 664 idtyp type = IDTYP(h); … … 701 701 } 702 702 703 static BOOLEAN DumpQring(FILE *fd, idhdl h, c har *type_str)703 static BOOLEAN DumpQring(FILE *fd, idhdl h, const char *type_str) 704 704 { 705 705 char *ring_str = h->String();
Note: See TracChangeset
for help on using the changeset viewer.