Home | History | Annotate | Download | only in ocaml

Lines Matching refs:temp

76     $&1_ltype temp = new $ltype((const $1_ltype &) $1);
79 $result = callback(*fromval,caml_val_ptr((void *)temp,$&1_descriptor));
81 $result = caml_val_ptr ((void *)temp,$&1_descriptor);
85 %typemap(in) char *& (char *temp) {
87 temp = (char*)caml_val_ptr($1,$descriptor);
88 $1 = &temp;
104 void *temp = calloc(1,sizeof($ltype));
106 memmove( temp, &$1, sizeof( $1_type ) );
108 $result = callback(*fromval,caml_val_ptr((void *)temp,$&1_descriptor));
110 $result = caml_val_ptr ((void *)temp,$&1_descriptor);
129 %typemap(in) C_NAME & ($*1_ltype temp) {
130 temp = ($*1_ltype) MZ_TO_C($input);
131 $1 = &temp;
139 %typemap(in) C_NAME *INPUT ($*1_ltype temp) {
140 temp = ($*1_ltype) MZ_TO_C($input);
141 $1 = &temp;
143 %typemap(in,numinputs=0) C_NAME *OUTPUT ($*1_ltype temp) {
144 $1 = &temp;
229 char *temp = caml_string_val($input);
230 strcpy((char *)$1,temp);