/[rtmk]/rtmk/rig/be-c.c
ViewVC logotype

Diff of /rtmk/rig/be-c.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.11 by jrydberg, Sun Feb 24 23:03:20 2002 UTC revision 1.12 by jrydberg, Wed Mar 6 00:52:17 2002 UTC
# Line 361  target_out_encode_arg (rt, arg, side) Line 361  target_out_encode_arg (rt, arg, side)
361      {      {
362        char *star = "";        char *star = "";
363                
364        if (side == side_client)        if (side == side_client && (arg->direction & AD_IN))
365          star = "*";          star = "*";
366    
367        if (arg->direction == AD_INOUT)        if (arg->direction == AD_INOUT)
# Line 512  target_server_call (rt) Line 512  target_server_call (rt)
512            len = start;            len = start;
513          }          }
514    
515        if (arg->direction & AD_IN && !arg->type->attrs & NO_FIXED_LENGTH)        if (arg->direction & AD_IN && !(arg->type->attrs & NO_FIXED_LENGTH))
516          ref = "&";          ref = "&";
517        if (arg->type->attrs & OUTOFLINE)        if (arg->type->attrs & OUTOFLINE && (arg->direction & AD_IN))
518          ref = "&";          ref = "&";
519    
520        output ("\a%s%s%s", ref, arg->cname, arg->next ? ", " : "");        output ("\a%s%s%s", ref, arg->cname, arg->next ? ", " : "");
# Line 894  target_server_local_variables (rt) Line 894  target_server_local_variables (rt)
894      {      {
895        char *stars = "";        char *stars = "";
896            
897        if (arg->type->attrs != 0 || arg->type->array > 0)        if ((arg->type->attrs != 0 || arg->type->array > 0)
898              && !(arg->type->attrs & RAW_CTYPE))
899          stars = "*";          stars = "*";
900            
901        if (arg->type->decode)        if (arg->type->decode)
# Line 913  target_server_local_variables (rt) Line 914  target_server_local_variables (rt)
914        output ("%s __ret_code;\n",        output ("%s __ret_code;\n",
915                rt->returntype->cname);                rt->returntype->cname);
916      }      }
917    output ("kern_return_t __kr;\n");    output ("kern_return_t __kr __attribute__ ((unused));\n");
918            
919    output ("\n");    output ("\n");
920    

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26