Skip to content

Commit c774dcd

Browse files
mochaaPJCWasmx86
authored andcommitted
a few type fixes (#172)
1 parent 3745016 commit c774dcd

File tree

4 files changed

+9
-1
lines changed

4 files changed

+9
-1
lines changed

src/libtypenamespace/addedData.csv

+1
Original file line numberDiff line numberDiff line change
@@ -119,3 +119,4 @@ sourceset_module::source_set,0.51.0
119119
wayland_module::find_protocol,0.62.0
120120
wayland_module::scan_xml,0.62.0
121121
env::unset,1.4.0
122+
build_machine::kernel,1.2.0

src/libtypenamespace/functions.def

+1-1
Original file line numberDiff line numberDiff line change
@@ -3545,7 +3545,7 @@ subdir:
35453545
- @if_found:
35463546
- Optional: true
35473547
- Types:
3548-
- list(dep)
3548+
- list(dep|external_program)
35493549
- returns:
35503550
subdir_done:
35513551
- args:

src/libtypenamespace/methoddocs.def

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ Returns a more specific CPU name, such as `i686`, `amd64`, etc.
1313
Returns the CPU family name. [This table](https://mesonbuild.com/Reference-tables.html#cpu-families) contains all known CPU families. These are guaranteed to continue working.
1414
@build_machine::endian:
1515
Returns `'big'` on big-endian systems and `'little'` on little-endian systems.
16+
@build_machine::kernel:
17+
Returns the native kernel name. [This table](https://mesonbuild.com/Reference-tables.html#kernel-names-since-120) lists all of the currently known Kernel names.
1618
@build_machine::system:
1719
Returns the operating system name. [This table](https://mesonbuild.com/Reference-tables.html#operating-system-names) lists all of the currently known Operating System names, these are guaranteed to continue working.
1820
@build_tgt::extract_all_objects:

src/libtypenamespace/methods.def

+5
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ build_machine::endian:
3636
- args:
3737
- returns:
3838
- str
39+
build_machine::kernel:
40+
- args:
41+
- returns:
42+
- str
3943
build_machine::system:
4044
- args:
4145
- returns:
@@ -1917,6 +1921,7 @@ generator::process:
19171921
- custom_tgt
19181922
- custom_idx
19191923
- generated_list
1924+
- exe
19201925
- @env:
19211926
- Optional: true
19221927
- Types:

0 commit comments

Comments
 (0)