Angelscript addon Template Containers  2.31.0
STL container powerr for Angelscript
aatc::common::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 (PRIMITIVE_TYPE primtype)
 
const void * Get_Ptr_To_Primitive_Type_const (PRIMITIVE_TYPE primtype) const
 
void From_voidptr_to_primitive (void *target, PRIMITIVE_TYPE primtype)
 
void Init ()
 

Public Attributes

union {
   config::t::int8   i8
 
   config::t::int16   i16
 
   config::t::int32   i32
 
   config::t::int64   i64
 
   config::t::uint8   ui8
 
   config::t::uint16   ui16
 
   config::t::uint32   ui32
 
   config::t::uint64   ui64
 
   config::t::float32   f32
 
   config::t::float64   f64
 
   void *   ptr
 
}; 
 

Detailed Description

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