Ignore:
Timestamp:
Apr 17, 2011, 10:28:20 AM (11 years ago)
Author:
Sam Hocevar
Message:

lisp: populate LispSymbol? with symbol-related methods.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/objects.cpp

    r482 r484  
    105105  for (i=0;i<figures[otype]->tiv;i++)
    106106  {
    107     if (!strcmp(lstring_value(symbol_name(figures[otype]->vars[i])),name))
     107    if (!strcmp(lstring_value(((LispSymbol *)figures[otype]->vars[i])->GetName()),name))
    108108    {
    109109      return lvars[figures[otype]->var_index[i]];
     
    135135  }
    136136  for (i=0;i<figures[otype]->tiv;i++)
    137     if (!strcmp(lstring_value(symbol_name(figures[otype]->vars[i])),name))
     137    if (!strcmp(lstring_value(((LispSymbol *)figures[otype]->vars[i])->GetName()),name))
    138138    {
    139139      lvars[figures[otype]->var_index[i]]=value;
Note: See TracChangeset for help on using the changeset viewer.