source: abuse/trunk/src/language.cpp @ 97

Last change on this file since 97 was 56, checked in by Sam Hocevar, 11 years ago
  • Add licensing terms to most C / C++ files (Ref #5).
File size: 509 bytes
Line 
1/*
2 *  Abuse - dark 2D side-scrolling platform game
3 *  Copyright (c) 1995 Crack dot Com
4 *
5 *  This software was released into the Public Domain. As with most public
6 *  domain software, no warranty is made or implied by Crack dot Com or
7 *  Jonathan Clark.
8 */
9
10#include "config.h"
11
12#include "lisp.hpp"
13
14char const *lang_string(char const *symbol)
15{
16  void *v=find_symbol(symbol);
17  if (!v || !DEFINEDP(symbol_value(v))) return "Language symbol missing!";
18  else return lstring_value(symbol_value(v)); 
19}
20
Note: See TracBrowser for help on using the repository browser.