aboutsummaryrefslogtreecommitdiffstats
path: root/internal/symbol.h
Commit message (Collapse)AuthorAgeFilesLines
* decouple internal.h headers卜部昌平2019-12-261-0/+4
| | | | | | | | | | | | | | | | | | Saves comitters' daily life by avoid #include-ing everything from internal.h to make each file do so instead. This would significantly speed up incremental builds. We take the following inclusion order in this changeset: 1. "ruby/config.h", where _GNU_SOURCE is defined (must be the very first thing among everything). 2. RUBY_EXTCONF_H if any. 3. Standard C headers, sorted alphabetically. 4. Other system headers, maybe guarded by #ifdef 5. Everything else, sorted alphabetically. Exceptions are those win32-related headers, which tend not be self- containing (headers have inclusion order dependencies).
* internal/symbol.h rework卜部昌平2019-12-261-9/+17
| | | | | Some declatations are moved from internal/parse.h, to reflect the fact that they are defined in symbol.c.
* split internal.h into files卜部昌平2019-12-261-0/+29
One day, I could not resist the way it was written. I finally started to make the code clean. This changeset is the beginning of a series of housekeeping commits. It is a simple refactoring; split internal.h into files, so that we can divide and concur in the upcoming commits. No lines of codes are either added or removed, except the obvious file headers/footers. The generated binary is identical to the one before.