Show
Ignore:
Timestamp:
2007-10-02 23:54:01 (4 years ago)
Author:
caedesv
Message:

adapted cel for bindingsplit merge into cs trunk.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • cel/trunk/include/bindings/blcel.i

    r2992 r3012  
    44%include "celproperties.i" // all property accessors 
    55CS_PROPERTY_HELPERS 
     6 
    67%{ 
    78#include <crystalspace.h> 
     
    5758%} 
    5859 
     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. */ 
     65INLINE_FUNCTIONS 
     66 
    5967//============================================================================= 
    6068// Interfaces that need csRef,csPtr,csRefArray 
     
    619627} 
    620628 
    621 /* Funtions to set the modules global SCF pointer, this is needed 
    622    when working on a pure scripting environment, as then this code 
    623    lives in a non-cs dll, thus the pointer isnt initialized 
    624    by cs itself, and scf stuff wont work unless the pointer is 
    625    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  
    636629%} 
    637630