Changeset fc2f76 in git
- Timestamp:
- Jan 8, 2014, 3:17:18 PM (10 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- f4b7ce8c38ff75c8fd45c72d96102b0ea850a8d7
- Parents:
- 7f21fbb79feef6519454a0a98aa7a2ba88e2150d
- Location:
- Singular
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/cntrlc.cc
r7f21fb rfc2f76 350 350 fprintf(stderr,"// ** Interrupt at cmd:`%s` in line:'%s'\n", 351 351 Tok2Cmdname(iiOp),my_yylinebuf); 352 if (fe GetOptValue(FE_OPT_EMACS) == NULL)352 if (feOptValue(FE_OPT_EMACS) == NULL) 353 353 { 354 354 fputs("abort after this command(a), abort immediately(r), print backtrace(b), continue(c) or quit Singular(q) ?",stderr);fflush(stderr); … … 385 385 siCntrlc++; 386 386 case 'c': 387 if ((fe GetOptValue(FE_OPT_EMACS) == NULL) && (default_opt!=' '))387 if ((feOptValue(FE_OPT_EMACS) == NULL) && (default_opt!=' ')) 388 388 { 389 389 /* Read until a newline or EOF */ -
Singular/feOpt.cc
r7f21fb rfc2f76 128 128 } 129 129 return FE_OPT_UNDEF; 130 }131 132 void* feGetOptValue(feOptIndex opt)133 {134 return feOptSpec[(int)opt].value;135 130 } 136 131 -
Singular/feOpt.h
r7f21fb rfc2f76 35 35 void feOptHelp(const char* name); 36 36 37 void* feGetOptValue(feOptIndex opt);38 39 40 37 #ifdef __cplusplus 41 38 42 inline void* feOptValue(feOptIndex opt)39 static inline void* feOptValue(feOptIndex opt) 43 40 { 44 41 return feOptSpec[(int)opt].value;
Note: See TracChangeset
for help on using the changeset viewer.