/tags/rel-1.3.35/Examples/guile/multivalue/example.c
C | 18 lines | 15 code | 3 blank | 0 comment | 0 complexity | 37f214cca91bb5467649394850500c5d MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
- void divide_l(int a, int b, int *quotient_p, int *remainder_p)
- {
- *quotient_p = a/b;
- *remainder_p = a%b;
- }
- void divide_v(int a, int b, int *quotient_p, int *remainder_p)
- {
- *quotient_p = a/b;
- *remainder_p = a%b;
- }
- void divide_mv(int a, int b, int *quotient_p, int *remainder_p)
- {
- *quotient_p = a/b;
- *remainder_p = a%b;
- }