Julian Eisel
ad4b7741db
Build-system: Force C linkage for all DNA type headers
...
Some DNA headers already did this, most did not. Even though many of them would
be included in C++ files and thus compiled as C++. This would be confusing and
developers may think they have to add `extern "C"` too a whole lot of
(indirect) includes to be able to use a C header in C++.
However, this is a misconception.
`extern "C"` does not cause code to be compiled with C rather than C++! It only
causes the linker to not use C++ function name mangling. See
https://stackoverflow.com/a/1041880 .
Because extern DNA headers don't have function declarations, using `extern "C"`
actually should not have any effect. On the other hand, adding it causes no
harm and avoids confusion. So let's just have it consistently in C header
files.
Differential Revision: https://developer.blender.org/D9578
Reviewed by: Bastien Montagne, Sybren Stüvel
2020-11-19 13:41:50 +01:00
..
2020-11-19 13:41:50 +01:00
2019-04-17 06:21:24 +02:00
2020-11-09 11:11:05 +01:00
2020-10-19 08:12:33 -07:00
2020-10-08 13:23:30 +02:00
2020-11-19 13:41:50 +01:00
2020-11-19 13:41:50 +01:00
2020-08-07 09:50:34 +02:00
2020-11-19 13:41:50 +01:00
2020-08-07 09:50:34 +02:00
2020-08-07 10:04:57 +02:00
2020-11-06 12:32:54 +11:00
2020-08-07 09:50:34 +02:00
2020-11-19 13:41:50 +01:00
2020-10-08 16:11:38 +02:00
2020-11-19 13:41:50 +01:00
2020-11-19 13:41:50 +01:00
2020-11-19 13:41:50 +01:00
2020-09-16 10:20:38 -05:00
2020-11-19 13:41:50 +01:00
2020-11-19 13:41:50 +01:00
2020-09-18 14:10:23 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2019-08-18 04:26:34 +10:00
2020-11-19 13:41:50 +01:00
2020-11-19 13:41:50 +01:00
2020-11-19 13:41:50 +01:00
2020-10-20 23:07:53 +02:00
2020-11-19 13:41:50 +01:00
2020-08-07 09:50:34 +02:00
2020-10-08 18:17:12 +02:00
2020-11-13 20:32:15 +11:00
2020-11-19 13:41:50 +01:00
2020-11-19 13:41:50 +01:00
2020-11-19 13:41:50 +01:00
2020-08-07 09:50:34 +02:00
2020-11-19 13:41:50 +01:00
2020-11-03 11:40:29 +01:00
2020-09-11 08:08:46 +02:00
2020-11-19 13:41:50 +01:00
2020-11-19 13:41:50 +01:00
2020-11-19 13:41:50 +01:00
2020-08-07 09:50:34 +02:00
2020-11-19 13:41:50 +01:00
2020-10-14 15:24:42 +11:00
2020-08-07 09:50:34 +02:00
2020-11-19 13:41:50 +01:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-11-19 13:41:50 +01:00
2020-08-07 09:50:34 +02:00
2020-11-19 13:41:50 +01:00
2020-08-07 09:50:34 +02:00
2020-11-19 13:41:50 +01:00
2020-08-07 09:50:34 +02:00
2020-10-22 12:15:57 +02:00
2020-11-19 13:41:50 +01:00
2020-08-07 09:50:34 +02:00
2020-11-19 13:41:50 +01:00
2020-10-27 10:31:48 +01:00
2020-10-29 19:34:29 -05:00
2020-10-08 17:19:05 +02:00
2020-08-07 10:04:57 +02:00
2020-11-19 13:41:50 +01:00
2020-11-19 13:41:50 +01:00
2020-08-07 09:50:34 +02:00
2020-11-19 13:41:50 +01:00
2020-08-07 09:50:34 +02:00
2020-11-06 12:32:54 +11:00
2020-11-05 16:08:00 -06:00
2020-11-19 13:41:50 +01:00
2020-11-19 13:41:50 +01:00
2020-10-08 18:19:09 +02:00
2020-11-19 13:41:50 +01:00
2020-10-19 09:11:00 -07:00
2020-08-07 09:50:34 +02:00
2020-11-19 13:41:50 +01:00
2020-11-19 13:41:50 +01:00
2020-10-01 17:59:04 +02:00
2020-11-18 21:35:06 +01:00
2020-11-19 13:41:50 +01:00
2020-11-19 13:41:50 +01:00
2020-11-06 16:05:50 +01:00
2020-08-07 09:50:34 +02:00
2020-11-19 13:41:50 +01:00
2020-08-07 09:50:34 +02:00
2020-11-19 13:41:50 +01:00
2020-11-19 13:41:50 +01:00
2020-11-19 13:41:50 +01:00
2020-08-07 09:50:34 +02:00
2020-11-19 13:41:50 +01:00
2020-11-19 13:41:50 +01:00
2020-08-07 09:50:34 +02:00
2020-10-10 22:04:51 +11:00
2020-11-19 13:41:50 +01:00
2020-11-13 17:27:39 +11:00
2020-08-07 09:50:34 +02:00
2020-11-19 13:41:50 +01:00
2020-11-19 13:41:50 +01:00
2020-11-19 13:41:50 +01:00
2020-11-13 08:14:56 +01:00
2020-11-19 13:41:50 +01:00
2020-11-19 13:41:50 +01:00
2020-09-15 23:13:01 +05:30
2020-11-19 13:41:50 +01:00
2020-11-19 13:41:50 +01:00
2020-11-19 13:41:50 +01:00
2020-08-07 09:50:34 +02:00
2020-11-19 13:41:50 +01:00
2020-11-19 13:41:50 +01:00