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
Create support for auto converting includes to imports.
Added command line options
--import-filter
A regular expression. All includes matching this will be converted to imports.
Only the basename part of the file name is used to generate the import.
--import-prefix
A prefix to give the imports. The import will have the form "<prefix><basename>"
* Doesn't translate preprocessor macros of any kind
84
-
*Doesn't translate`#include` to `import`. A few standard C headers are translated
84
+
*Only very simplistic translation of`#include` to `import`. A few standard C headers are translated
85
85
* Doesn't translate C++ at all
86
86
* Umbrella headers. Some headers just serve to include other headers. If these other headers contain some form of protection, like `#error`, to be included directly this can cause problems for DStep
87
87
* Some headers are designed to always be included together with other header files. These headers may very well use symbols from other header files without including them itself. Since DStep is designed to convert header files one-by-one this doesn't work. There are two workarounds for this:
0 commit comments