/[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.2 by jrydberg, Mon Dec 17 21:45:13 2001 UTC revision 1.3 by jrydberg, Thu Jan 3 01:48:46 2002 UTC
# Line 43  char *native_types[] = { Line 43  char *native_types[] = {
43    "RTMK_MSG_TYPE_MAKE_SEND_ONCE"    "RTMK_MSG_TYPE_MAKE_SEND_ONCE"
44  };  };
45    
46    size_t native_sizes[] = {
47      4,
48      1,
49      4,
50      4,
51      4,
52      4,
53      4,
54      4
55    };
56    
57  /* When generating prototypes, don't generate PARAMS () */  /* When generating prototypes, don't generate PARAMS () */
58  extern int no_use_params;  extern int no_use_params;
59    
# Line 67  write_msg_type_header (type, name) Line 78  write_msg_type_header (type, name)
78        
79    output ("%s,\n", native_types [type->type]);    /* type */    output ("%s,\n", native_types [type->type]);    /* type */
80    if (type->array > 0)    if (type->array > 0)
81      output ("%d*32,\n", type->array);      output ("%d*%d\n", type->array, native_sizes [type->type]);
82    else    else
83      output ("32,\n");                          /* length */      output ("%d,\n", native_sizes [type->type]); /* length */
84    if (type->attrs & OUTOFLINE)    if (type->attrs & OUTOFLINE)
85      output ("FALSE,\n");                    /* inline */      output ("FALSE,\n");                    /* inline */
86    else    else

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

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