[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.dsdp.rtsc] Re: Finding out the size of the structure in xs file

Yes.  See http://rtsc.eclipse.org/docs-tip/XDCscript_-_Struct-Object.$sizeof


Ravindranath wrote:
Is there a way to find out the size of the structure (declared in xdc file) in module's xs file.
for example i have a structure
like below in xdc file


module xdc file

struct entry
{
    UInt32 a;
    uinon {
       UInt8 b;
       UInt32 c;
    }
};


In xs file i have to know the size of <mod>_entry structure size.

How do i do this. Please let me know if any body knows  how to do it?.