/[enigma]/enigma/src/lua.hh
ViewVC logotype

Diff of /enigma/src/lua.hh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by dheck, Sun Jan 5 19:56:39 2003 UTC revision 1.2 by dheck, Thu Jan 23 22:41:00 2003 UTC
# Line 1  Line 1 
1  //======================================================================  /*
2  // Copyright (C) 2002 Daniel Heck   * Copyright (C) 2002,2003 Daniel Heck
3  //   *
4  // This program is free software; you can redistribute it and/or   * This program is free software; you can redistribute it and/or
5  // modify it under the terms of the GNU General Public License   * modify it under the terms of the GNU General Public License
6  // as published by the Free Software Foundation; either version 2   * as published by the Free Software Foundation; either version 2
7  // of the License, or (at your option) any later version.   * of the License, or (at your option) any later version.
8  //     *  
9  // This program is distributed in the hope that it will be useful,   * This program is distributed in the hope that it will be useful,
10  // but WITHOUT ANY WARRANTY; without even the implied warranty of   * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  // GNU General Public License for more details.   * GNU General Public License for more details.
13  //     *
14  // You should have received a copy of the GNU General Public License along   * You should have received a copy of the GNU General Public License along
15  // with this program; if not, write to the Free Software Foundation, Inc.,   * with this program; if not, write to the Free Software Foundation, Inc.,
16  // 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.   * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
17  //======================================================================   *
18     * $Id$
19     */
20  #ifndef LUA_HH  #ifndef LUA_HH
21  #define LUA_HH  #define LUA_HH
22    
23  #include <string>  #include <string>
24  #include <exception>  #include <exception>
25  #include "tools.hh"  #include "enigma.hh"
26  #include "px/geom.hh"  #include "px/geom.hh"
27    
28  extern "C" {  extern "C" {
# Line 44  namespace lua Line 46  namespace lua
46    
47      /* Call a Lua function with one argument.  This is mainly used for      /* Call a Lua function with one argument.  This is mainly used for
48         callbacks during the game. */         callbacks during the game. */
49      int CallFunc(const char *funcname, const tools::Value& arg);      int CallFunc(const char *funcname, const enigma::Value& arg);
50    
51      int Dofile(const std::string & filename);      int Dofile(const std::string & filename);
52    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26