mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-03 09:48:29 +00:00
Remove a bunch of stuff that shouldn't be in docs
This commit is contained in:
parent
2cc1d5ac4c
commit
bfb85fe6d0
11 changed files with 18 additions and 39 deletions
10
third_party/chibicc/dox1.c
vendored
10
third_party/chibicc/dox1.c
vendored
|
@ -284,13 +284,21 @@ static void LoadPublicDefinitions(struct DoxWriter *dox, Obj *prog) {
|
|||
if (!obj->javadown) {
|
||||
if (*obj->name == '_') continue;
|
||||
if (strchr(obj->name, '$')) continue;
|
||||
if (_startswith(obj->name, "__gdtoa_")) continue;
|
||||
if (obj->visibility && !strcmp(obj->visibility, "hidden")) continue;
|
||||
if (_startswith(obj->name, "nsync_") && _endswith(obj->name, "_"))
|
||||
continue;
|
||||
if (!obj->is_definition && (!obj->is_function || !obj->params ||
|
||||
!obj->params->name || !*obj->params->name)) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
if (_startswith(obj->name, "__gdtoa_")) continue;
|
||||
if (_startswith(obj->name, "sys_")) continue;
|
||||
if (_startswith(obj->name, "ioctl_")) continue;
|
||||
if (_startswith(obj->name, "nsync_mu_semaphore_")) continue;
|
||||
if (_startswith(obj->name, "Describe")) continue;
|
||||
if (_startswith(obj->name, "__sig")) continue;
|
||||
if (_startswith(obj->name, "__zipos")) continue;
|
||||
if (obj->is_static) continue;
|
||||
if (obj->is_string_literal) continue;
|
||||
if (obj->section && _startswith(obj->section, ".init_array")) continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue