mirror of
https://github.com/ivellioscolin/pykd.git
synced 2025-04-29 11:53:23 +08:00
[0.2.x] fixed : size of pointer to a custom defined type is equal zero
git-svn-id: https://pykd.svn.codeplex.com/svn@82319 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
parent
7d6f67acd1
commit
169c7b54b6
@ -57,11 +57,12 @@ class CustomBase : public UdtTypeInfoBase
|
||||
protected:
|
||||
|
||||
CustomBase( const std::string &name, ULONG pointerSize, ULONG align ) :
|
||||
UdtTypeInfoBase( name ),
|
||||
m_size( 0 ),
|
||||
m_ptrSize( pointerSize ),
|
||||
m_align( align )
|
||||
{}
|
||||
UdtTypeInfoBase( name )
|
||||
{
|
||||
m_ptrSize = pointerSize;
|
||||
m_align = align;
|
||||
m_size = 0;
|
||||
}
|
||||
|
||||
void throwIfFiledExist(const std::string &fieldName);
|
||||
void throwIfTypeRecursive(TypeInfoPtr type);
|
||||
@ -74,12 +75,8 @@ protected:
|
||||
|
||||
protected:
|
||||
|
||||
ULONG m_ptrSize;
|
||||
|
||||
ULONG m_align;
|
||||
|
||||
std::string m_name;
|
||||
|
||||
ULONG m_size;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user