Apple Developer Connection
Advanced Search
Member Login Log In | Not a Member? Contact ADC

< Previous PageNext Page >

実行時のコード生成

アプリケーションが実行時にコードを生成する場合、コンパイラがMac OS Xライブラリまたはフレームワークを呼び出すときに、スタックが16バイトに揃えられている必要があると想定する点に留意してください。インテルベースのMacintoshコンピュータ上では16バイトのスタックアラインメントが行われます。つまり、アプリケーションのクラッシュを防ぐためには、必ずコードを16バイトで揃える必要があります。

詳細については、Mac OS X ABI Function Call Guideを参照してください。



< Previous PageNext Page >


Last updated: 2006-03-08




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice