%module xxx int foo(%val int *x, %out int *y);