Changeset bf4997 in git
- Timestamp:
- Mar 26, 2001, 11:35:58 PM (22 years ago)
- Branches:
- (u'spielwiese', '8d54773d6c9e2f1d2593a28bc68b7eeab54ed529')
- Children:
- b36d3da67429c33f1ca29da748ec25b382515a07
- Parents:
- 4fc824e31426994063664cd4b353fe70dbedb203
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/iplib.cc
r4fc824e rbf4997 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: iplib.cc,v 1.8 3 2001-03-26 19:40:50Singular Exp $ */4 /* $Id: iplib.cc,v 1.84 2001-03-26 21:35:58 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: interpreter: LIB and help … … 36 36 #include "mod_raw.h" 37 37 38 static char *iiConvName(c har *p);38 static char *iiConvName(const char *p); 39 39 #ifdef HAVE_LIBPARSER 40 40 void yylprestart (FILE *input_file ); … … 1030 1030 int iiAddCproc(char *libname, char *procname, BOOLEAN pstatic, 1031 1031 BOOLEAN(*func)(leftv res, leftv v)); 1032 int (*fktn)(int(*iiAddCproc)(char *libname, char *procname,1032 typedef int (*fktn_t)(int(*iiAddCproc)(char *libname, char *procname, 1033 1033 BOOLEAN pstatic, 1034 1034 BOOLEAN(*func)(leftv res, leftv v))); 1035 fktn_t fktn; 1035 1036 idhdl pl; 1036 1037 char *plib = iiConvName(newlib); … … 1044 1045 1045 1046 1046 if(IsCmd(plib, &token))1047 if(IsCmd(plib, token)) 1047 1048 { 1048 1049 Werror("'%s' is resered identifier\n", plib); … … 1084 1085 else 1085 1086 { 1086 fktn = dynl_sym(IDPACKAGE(pl)->handle, "mod_init");1087 fktn = (fktn_t)dynl_sym(IDPACKAGE(pl)->handle, "mod_init"); 1087 1088 if( fktn!= NULL) (*fktn)(iiAddCproc); 1088 1089 else Werror("mod_init: %s\n", dynl_error()); … … 1120 1121 //#endif 1121 1122 1122 static char *iiConvName(c har *libname)1123 static char *iiConvName(const char *libname) 1123 1124 { 1124 1125 char *tmpname = omStrDup(libname);
Note: See TracChangeset
for help on using the changeset viewer.