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/compiled.cpp

    r482 r484  
    4242static int32_t c_state(char const *name)
    4343{
    44   void *sym=find_symbol(name);
     44  void *sym = LispSymbol::Find(name);
    4545  if (sym)
    4646  {
     
    122122  S_DELETE_SND=  c_state("DEL_OBJECT_SND");
    123123
    124   void *b=make_find_symbol("bad_guy_list");
     124  void *b = LispSymbol::FindOrCreate("bad_guy_list");
    125125  if (b && DEFINEDP(symbol_value(b)))
    126126  {
     
    138138  }
    139139
    140   void *v=symbol_value(make_find_symbol("last_save_game"));
     140  void *v = LispSymbol::FindOrCreate("last_save_game")->GetValue();
    141141  if (DEFINEDP(v))
    142142    last_save_game_number=lnumber_value(v);
Note: See TracChangeset for help on using the changeset viewer.