Changeset 3012 for cel/trunk/include/bindings/blcel.i
- Timestamp:
- 2007-10-02 23:54:01 (4 years ago)
- Files:
-
- 1 modified
-
cel/trunk/include/bindings/blcel.i (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cel/trunk/include/bindings/blcel.i
r2992 r3012 4 4 %include "celproperties.i" // all property accessors 5 5 CS_PROPERTY_HELPERS 6 6 7 %{ 7 8 #include <crystalspace.h> … … 57 58 %} 58 59 60 /* Funtions to set the modules global SCF pointer, this is needed 61 when working on a pure scripting environment, as then this code 62 lives in a non-cs dll, thus the pointer isnt initialized 63 by cs itself, and scf stuff wont work unless the pointer is 64 initialized manually. Use it after CreateEnvironment call. */ 65 INLINE_FUNCTIONS 66 59 67 //============================================================================= 60 68 // Interfaces that need csRef,csPtr,csRefArray … … 619 627 } 620 628 621 /* Funtions to set the modules global SCF pointer, this is needed622 when working on a pure scripting environment, as then this code623 lives in a non-cs dll, thus the pointer isnt initialized624 by cs itself, and scf stuff wont work unless the pointer is625 initialized manually. Use it after CreateEnvironment call. */626 void SetSCFPointer(iSCF* pscf)627 {628 iSCF::SCF = pscf;629 }630 631 iSCF* GetSCFPointer()632 {633 return iSCF::SCF;634 }635 636 629 %} 637 630
