/[adonthell]/adonthell/src/python/script.cc
ViewVC logotype

Diff of /adonthell/src/python/script.cc

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

revision 1.3 by ksterker, Sun Jun 27 11:20:58 2004 UTC revision 1.4 by ksterker, Tue Jan 18 12:05:05 2005 UTC
# Line 1  Line 1 
1  /*  /*
2    $Id$     $Id$
3        
4    Copyright (C) 1999/2000/2001/2003/2004 Kai Sterker     Copyright (C) 1999/2000/2001/2003/2004 Kai Sterker
5    Copyright (C) 2001 Alexandre Courbot     Copyright (C) 2001 Alexandre Courbot
6    Part of the Adonthell Project http://adonthell.linuxgames.com     Part of the Adonthell Project http://adonthell.linuxgames.com
7        
8     Adonthell is free software; you can redistribute it and/or modify     Adonthell is free software; you can redistribute it and/or modify
9     it under the terms of the GNU General Public License as published by     it under the terms of the GNU General Public License as published by
# Line 139  PyObject* script::call_method_ret (const Line 139  PyObject* script::call_method_ret (const
139  }  }
140    
141  // check for a certain attribute  // check for a certain attribute
142  bool script::has_attribute (const std::string & name) const  bool script::has_attribute (const string & name) const
143  {  {
144      if (Instance)      if (Instance)
145          return PyObject_HasAttrString (Instance, (char *) name.c_str ());          return PyObject_HasAttrString (Instance, (char *) name.c_str ());

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

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