iphone - Aligned pointer -
possible duplicate:
what 'aligned pointer' ?
please give me example of statement:
a normal pointer type implicitly cast aligned pointer type.
actually c language question
i don't believe can cast them. pointers aligned normal. have declare __packed
un-aligned.
you should read on how arm processor works. alignment causes quick memory access. if need things packed further, recommend storing data blob in nsdata
or using c-style byte[] array.
also, see question/answer. , this one.
Comments
Post a Comment