Angelscript addon Template Containers  1.0
STL container powerr for Angelscript
aatc_primunion Struct Reference

This monstrosity is used to store any primitive or handle using the same allocation code. More...

#include <aatc_common.hpp>

Public Member Functions

void * Get_Ptr_To_Primitive_Type (aatc_PRIMITIVE_TYPE primtype)
 
const void * Get_Ptr_To_Primitive_Type_const (aatc_PRIMITIVE_TYPE primtype) const
 
void Init ()
 

Public Attributes

union {
   aatc_type_int8   i8
 
   aatc_type_int16   i16
 
   aatc_type_int32   i32
 
   aatc_type_int64   i64
 
   aatc_type_uint8   ui8
 
   aatc_type_uint16   ui16
 
   aatc_type_uint32   ui32
 
   aatc_type_uint64   ui64
 
   aatc_type_float32   f32
 
   aatc_type_float64   f64
 
   void *   ptr
 
}; 
 

Detailed Description

This monstrosity is used to store any primitive or handle using the same allocation code.