Used to get and push bools to and from the stack.  
 More...
#include <sqratTypes.h>
 | 
|   | Var (HSQUIRRELVM vm, SQInteger idx) | 
|   | 
 | 
| static void  | push (HSQUIRRELVM vm, const bool &value) | 
|   | 
 | 
| 
bool  | value | 
|   | The actual value of get operations. 
  | 
|   | 
template<>
struct Sqrat::Var< bool >
Used to get and push bools to and from the stack. 
 
Attempts to get the value off the stack at idx as a bool
- Parameters
 - 
  
    | vm | Target VM  | 
    | idx | Index trying to be read  | 
  
   
 
 
  
  
      
        
          | static void Sqrat::Var< bool >::push  | 
          ( | 
          HSQUIRRELVM  | 
          vm,  | 
         
        
           | 
           | 
          const bool &  | 
          value  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inlinestatic   | 
  
 
Called by Sqrat::PushVar to put a bool on the stack
- Parameters
 - 
  
    | vm | Target VM  | 
    | value | Value to push on to the VM's stack  | 
  
   
 
 
The documentation for this struct was generated from the following file:
- /media/drive2/atai/software_projects/sqrat/sqrat.git/include/sqrat/sqratTypes.h