17 |
|
|
18 |
#include <stdio.h> |
#include <stdio.h> |
19 |
#include <stdlib.h> |
#include <stdlib.h> |
20 |
|
#include <stdbool.h> |
21 |
|
|
22 |
#include "rig.h" |
#include "rig.h" |
23 |
#include "stmt.h" |
#include "stmt.h" |
26 |
#include "be-c.h" |
#include "be-c.h" |
27 |
#include "queue.h" |
#include "queue.h" |
28 |
|
|
29 |
|
extern bool weak_p; |
30 |
|
|
31 |
char *native_types[] = { |
char *native_types[] = { |
32 |
"RTMK_MSG_TYPE_INTEGER32", |
"RTMK_MSG_TYPE_INTEGER32", |
33 |
"RTMK_MSG_TYPE_CHARACTER", |
"RTMK_MSG_TYPE_CHARACTER", |
563 |
|
|
564 |
output ("%s\n", rt->returntype ? |
output ("%s\n", rt->returntype ? |
565 |
rt->returntype->cname : "void"); |
rt->returntype->cname : "void"); |
566 |
output ("%s%s (", prefix, rt->cname); |
output ("%s%s%s (", weak_p ? "__" : "", prefix, rt->cname); |
567 |
|
|
568 |
len = start = strlen (rt->cname) + 2; |
len = start = strlen (rt->cname) + 2; |
569 |
|
|