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

    r481 r484  
    367367
    368368  char const *ff;
    369   if (DEFINEDP(symbol_value(make_find_symbol("frame_file"))))
    370     ff=lstring_value(symbol_value(make_find_symbol("frame_file")));
     369  // FIXME: unnecessary duplicate call
     370  if (DEFINEDP(LispSymbol::FindOrCreate("frame_file")->GetValue()))
     371    ff = lstring_value(LispSymbol::FindOrCreate("frame_file")->GetValue());
    371372  else
    372     ff="art/frame.spe";
     373    ff = "art/frame.spe";
    373374
    374375  ok_button   =      cache.reg(ff,"dev_ok",SPEC_IMAGE);
     
    415416  {
    416417    if (!strcmp(argv[i],"-ec"))
    417       set_symbol_value(l_empty_cache,true_symbol);
     418      l_empty_cache->SetValue(true_symbol);
    418419    if (!strcmp(argv[i],"-t"))
    419420    {
Note: See TracChangeset for help on using the changeset viewer.