You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The C++ backend generates C code in namespace capi {} when run by a C++ compiler.
Instead of doing this, we should:
generate .hpp files in a capi/ folder
have them unconditionally contain namespace capi and extern "C".
This API shall primarily be internal but can be used by people who want to poke into ICU4X's guts.
The text was updated successfully, but these errors were encountered:
Manishearth
changed the title
Treat cpp
Treat cpp2's C code as truly internal and get rid of #ifdef __cplusplus
Feb 21, 2024
Manishearth
changed the title
Treat cpp2's C code as truly internal and get rid of #ifdef __cplusplus
Treat cpp2's C code as truly internal and get rid of #ifdef __cplusplus namespace capi
Feb 21, 2024
The C++ backend generates C code in
namespace capi {}
when run by a C++ compiler.Instead of doing this, we should:
.hpp
files in acapi/
foldernamespace capi
andextern "C"
.This API shall primarily be internal but can be used by people who want to poke into ICU4X's guts.
The text was updated successfully, but these errors were encountered: