Lines Matching refs:MAX
21 * %cstring_bounded_output(TYPEMAP, MAX)
33 %define %cstring_bounded_output(TYPEMAP,MAX)
34 %typemap(ignore) TYPEMAP(char temp[MAX+1]) {
38 $1[MAX] = 0;
81 %define %cstring_bounded_mutable(TYPEMAP,MAX)
82 %typemap(in) TYPEMAP(char temp[MAX+1]) {
84 strncpy(temp,t,MAX);
88 $result = caml_list_append($result,caml_val_string_len($1,MAX));
145 * %cstring_output_maxsize(char *outx, int max) {
146 * void foo(char *outx, int max) {
176 * %cstring_output_maxsize(char *outx, int *max) {
177 * void foo(char *outx, int *max) {
179 * *max = strlen(outx);