root/lang/d/portingdemo/unko.d @ 29657

Revision 7585, 306 bytes (checked in by itkz, 5 years ago)

yasui omosirosou but kao ga yabai http://www.moe-tokyo.net/

Line 
1
2extern (C):
3
4struct unko_t {
5        int* first;
6        int second;
7        long third;
8        int* fourth;
9}
10
11unko_t *create_unko();
12void delete_unko(unko_t *unko);
13
14int get_offsetof_first();
15int get_offsetof_second();
16int get_offsetof_third();
17int get_offsetof_fourth();
18
19long add_long_and_int(long a, int b);
Note: See TracBrowser for help on using the browser.