Commit b2a0b2f
committed
ast-exporter: prefer non-implicit declarations when exporting function declarations
implicit declarations for functions like malloc do not know about the typedefs that may be used in the declaration present in system headers. because we want to reify these typedefs into portable Rust types, we want to prefer the actual written decl when exporting function parameter declarations and function types1 parent 16ffaa4 commit b2a0b2f
1 file changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1838 | 1838 | | |
1839 | 1839 | | |
1840 | 1840 | | |
| 1841 | + | |
| 1842 | + | |
| 1843 | + | |
| 1844 | + | |
| 1845 | + | |
| 1846 | + | |
| 1847 | + | |
| 1848 | + | |
| 1849 | + | |
1841 | 1850 | | |
1842 | 1851 | | |
1843 | 1852 | | |
| |||
1847 | 1856 | | |
1848 | 1857 | | |
1849 | 1858 | | |
1850 | | - | |
| 1859 | + | |
| 1860 | + | |
1851 | 1861 | | |
1852 | 1862 | | |
1853 | 1863 | | |
| |||
0 commit comments