Changeset fc2f76 in git


Ignore:
Timestamp:
Jan 8, 2014, 3:17:18 PM (10 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
f4b7ce8c38ff75c8fd45c72d96102b0ea850a8d7
Parents:
7f21fbb79feef6519454a0a98aa7a2ba88e2150d
Message:
fix: removed feGetOptValue (->feOptValue)
Location:
Singular
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • Singular/cntrlc.cc

    r7f21fb rfc2f76  
    350350      fprintf(stderr,"// ** Interrupt at cmd:`%s` in line:'%s'\n",
    351351        Tok2Cmdname(iiOp),my_yylinebuf);
    352       if (feGetOptValue(FE_OPT_EMACS) == NULL)
     352      if (feOptValue(FE_OPT_EMACS) == NULL)
    353353      {
    354354        fputs("abort after this command(a), abort immediately(r), print backtrace(b), continue(c) or quit Singular(q) ?",stderr);fflush(stderr);
     
    385385                siCntrlc++;
    386386      case 'c':
    387                 if ((feGetOptValue(FE_OPT_EMACS) == NULL) && (default_opt!=' '))
     387                if ((feOptValue(FE_OPT_EMACS) == NULL) && (default_opt!=' '))
    388388                {
    389389                  /* Read until a newline or EOF */
  • Singular/feOpt.cc

    r7f21fb rfc2f76  
    128128  }
    129129  return FE_OPT_UNDEF;
    130 }
    131 
    132 void* feGetOptValue(feOptIndex opt)
    133 {
    134   return feOptSpec[(int)opt].value;
    135130}
    136131
  • Singular/feOpt.h

    r7f21fb rfc2f76  
    3535void feOptHelp(const char* name);
    3636
    37 void* feGetOptValue(feOptIndex opt);
    38 
    39 
    4037#ifdef __cplusplus
    4138
    42 inline void* feOptValue(feOptIndex opt)
     39static inline void* feOptValue(feOptIndex opt)
    4340{
    4441  return feOptSpec[(int)opt].value;
Note: See TracChangeset for help on using the changeset viewer.