Created
September 3, 2012 16:43
-
-
Save majiang/3610664 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| extern(C) | |
| void f( | |
| size_t l, ulong* x, // 引数のサイズと先頭 | |
| ref size_t rl, ulong* ret // 返り値の最大サイズと先頭 | |
| ) | |
| { | |
| /* rl を実際の返り値のサイズに、ret の中身を返り値に書き換える。 | |
| * rl が受け取った時より大きくなる場合は例外でも投げる? | |
| */ | |
| return; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment