Evan Haas
ccdb81fb31
Improve handling of C compiler intrinsics in translate-c
...
C compiler intrinsics can only appear as part of a function call. When called
they are implicitly cast to a function pointer; treat this as a non-null
pointer so that it emits as a regular Zig function call.
Put `pub usingnamespace @import("std").c.builtins;` at the top of translated
C files so that they will have access to builtin functions defined there.
Fixes #6707
2020-12-22 23:59:30 +02:00
..
2020-12-09 17:21:21 +01:00
2020-12-22 10:57:58 +01:00
2020-12-21 12:40:51 +02:00
2020-12-06 19:36:49 +02:00
2020-12-11 02:33:09 -05:00
2020-11-22 17:28:11 -07:00
2020-09-21 18:38:55 -07:00
2020-10-27 14:16:43 -07:00
2020-12-09 17:21:21 +01:00
2020-12-20 15:37:58 -07:00
2020-12-07 17:27:09 -07:00
2020-09-21 18:38:55 -07:00
2020-12-07 17:27:09 -07:00
2020-12-20 15:08:59 -07:00
2020-12-20 15:08:59 -07:00
2020-09-22 14:08:08 -07:00
2020-10-30 15:58:13 +02:00
2020-11-18 13:14:48 +02:00
2020-12-20 15:08:59 -07:00
2020-12-20 15:08:59 -07:00
2020-12-13 00:40:35 +01:00
2020-10-30 15:58:13 +02:00
2020-12-08 20:00:16 -07:00
2020-12-20 15:08:59 -07:00
2020-11-05 20:04:25 +02:00
2020-12-04 17:21:55 -07:00
2020-12-20 15:08:59 -07:00
2020-09-22 23:00:33 -07:00
2020-09-21 18:38:55 -07:00
2020-09-21 18:38:55 -07:00
2020-10-30 15:58:13 +02:00
2020-12-20 15:08:59 -07:00
2020-12-17 10:04:53 +01:00
2020-12-20 15:08:59 -07:00
2020-12-20 15:37:58 -07:00
2020-09-21 18:38:55 -07:00
2020-12-22 23:59:30 +02:00
2020-12-09 01:18:27 +02:00
2020-09-21 18:38:55 -07:00
2020-11-19 18:59:21 +02:00
2020-12-20 15:08:59 -07:00
2018-09-18 00:13:17 -04:00
2018-10-27 11:35:01 -04:00
2020-09-21 21:14:01 -07:00
2020-09-21 18:38:55 -07:00
2020-07-24 17:01:52 -07:00
2020-07-24 17:01:52 -07:00
2020-07-24 17:01:52 -07:00
2020-10-27 14:16:43 -07:00
2020-12-07 17:27:09 -07:00
2020-12-08 20:00:16 -07:00
2020-12-08 20:00:16 -07:00
2020-10-30 15:58:13 +02:00
2020-12-03 11:46:35 -08:00