Dali 3D User Interface Engine
List of all members | Classes | Public Types
Dali::Internal::anonymous_namespace{property-buffer-impl.cpp}::PropertyImplementationTypeAlignment< type > Struct Template Reference

Calculate the alignment requirements of a type. More...


struct  TestStructure

Public Types

enum  { VALUE = offsetof( TestStructure, data ) }

Detailed Description

template<Property::Type type>
struct Dali::Internal::anonymous_namespace{property-buffer-impl.cpp}::PropertyImplementationTypeAlignment< type >

Calculate the alignment requirements of a type.

This is used to calculate the memory alignment requirements of a type It creates a structure with a dummy char and a member of the type we want to check this will cause the second member to be aligned by it's alignment requirement.

Definition at line 45 of file property-buffer-impl.cpp.

Member Enumeration Documentation

template<Property::Type type>
anonymous enum

Definition at line 53 of file property-buffer-impl.cpp.

The documentation for this struct was generated from the following file:
Dali Docs Home
Read more about Dali