diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-09 04:41:09 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-09 04:41:09 +0400 |
commit | 4f7bdc59d31e94bc97955c1efeef2a8fce0c8ecd (patch) | |
tree | 7e0a36829cf52ff260821ce02716727052b95d32 /source/gameengine/Expressions | |
parent | 27d43f3fd3a6fbda95cdb87e4672fe34f19c2205 (diff) |
style cleanup: spelling.
also remove large, duplicate comments from sunsky.h
Diffstat (limited to 'source/gameengine/Expressions')
-rw-r--r-- | source/gameengine/Expressions/PyObjectPlus.cpp | 2 | ||||
-rw-r--r-- | source/gameengine/Expressions/PyObjectPlus.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/gameengine/Expressions/PyObjectPlus.cpp b/source/gameengine/Expressions/PyObjectPlus.cpp index e772aec28e3..27d955edf44 100644 --- a/source/gameengine/Expressions/PyObjectPlus.cpp +++ b/source/gameengine/Expressions/PyObjectPlus.cpp @@ -199,7 +199,7 @@ PyObject * PyObjectPlus::py_base_new(PyTypeObject *type, PyObject *args, PyObjec base->ptr = NULL; if (ret->ref) ret->ref->m_proxy= NULL; - /* 'base' may be free'd after this func finished but not necessarily + /* 'base' may be freed after this func finished but not necessarily * there is no reference to the BGE data now so it will throw an error on access */ Py_DECREF(base); if (ret->ref) { diff --git a/source/gameengine/Expressions/PyObjectPlus.h b/source/gameengine/Expressions/PyObjectPlus.h index 18afb0a6e78..e3701b8793c 100644 --- a/source/gameengine/Expressions/PyObjectPlus.h +++ b/source/gameengine/Expressions/PyObjectPlus.h @@ -609,7 +609,7 @@ public: static PyObject *GetProxyPlus_Ext(PyObjectPlus *self, PyTypeObject *tp, void *ptr); /* self=NULL => proxy to generic pointer detached from GE object - if py_owns is true, the memory pointed by ptr will be deleted automatially with MEM_freeN + if py_owns is true, the memory pointed by ptr will be deleted automatically with MEM_freeN self!=NULL=> proxy attached to GE object, ptr is optional and point to a struct from which attributes can be defined if py_owns is true, the object will be deleted automatically, ptr will NOT be deleted (assume object destructor takes care of it) */ |