~ubuntu-branches/ubuntu/gutsy/blender/gutsy-security

« back to all changes in this revision

Viewing changes to source/gameengine/Ketsji/KX_ConstraintWrapper.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Florian Ernst
  • Date: 2005-11-06 12:40:03 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051106124003-3pgs7tcg5rox96xg
Tags: 2.37a-1.1
* Non-maintainer upload.
* Split out parts of 01_SConstruct_debian.dpatch again: root_build_dir
  really needs to get adjusted before the clean target runs - closes: #333958,
  see #288882 for reference

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/**
2
 
 * $Id: KX_ConstraintWrapper.cpp,v 1.4 2004/03/22 22:01:51 jesterking Exp $
 
2
 * $Id: KX_ConstraintWrapper.cpp,v 1.5 2004/05/16 13:05:15 kester Exp $
3
3
 *
4
4
 * ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
5
5
 *
95
95
        NULL
96
96
};
97
97
 
98
 
PyObject*       KX_ConstraintWrapper::_getattr(char* attr)
 
98
PyObject*       KX_ConstraintWrapper::_getattr(const STR_String& attr)
99
99
{
100
100
        //here you can search for existing data members (like mass,friction etc.)
101
101
        _getattr_up(PyObjectPlus);
102
102
}
103
103
 
104
 
int     KX_ConstraintWrapper::_setattr(char* attr,PyObject* pyobj)
 
104
int     KX_ConstraintWrapper::_setattr(const STR_String& attr,PyObject* pyobj)
105
105
{
106
106
        
107
107
        PyTypeObject* type = pyobj->ob_type;