40
46
/* setup the typemaps for the pointer to an output parameter cntrs */
41
47
handle_ptr(struct diag_cntrs, cntrs);
45
52
Then in scheme, you can use regular struct access procedures like
48
57
; suppose a function created a struct foo as
49
58
; (define foo (make-diag-cntrs (#x1 #x2 #x3) (make-inspector))