mirror of
https://github.com/ziglang/zig.git
synced 2025-01-08 11:12:14 +00:00
Merge pull request #14263 from der-teufel-programming/master
autodoc: Fix function pointers rendering issue
This commit is contained in:
commit
a88679453a
@ -1933,8 +1933,10 @@ var zigAnalysis;
|
||||
payloadHtml += ", ";
|
||||
}
|
||||
|
||||
payloadHtml +=
|
||||
"<span class='argBreaker'><br> </span>";
|
||||
if (opts.wantHtml) {
|
||||
payloadHtml +=
|
||||
"<span class='argBreaker'><br> </span>";
|
||||
}
|
||||
let value = fnObj.params[i];
|
||||
let paramValue = resolveValue({ expr: value });
|
||||
|
||||
@ -2007,7 +2009,9 @@ var zigAnalysis;
|
||||
}
|
||||
}
|
||||
|
||||
payloadHtml += "<span class='argBreaker'>,<br></span>";
|
||||
if (opts.wantHtml) {
|
||||
payloadHtml += "<span class='argBreaker'>,<br></span>";
|
||||
}
|
||||
payloadHtml += ") ";
|
||||
|
||||
if (fnObj.has_align) {
|
||||
@ -2078,7 +2082,7 @@ var zigAnalysis;
|
||||
) {
|
||||
name = "std";
|
||||
} else {
|
||||
name = exprName({ type: typeObj }, false, false);
|
||||
name = exprName({ type: typeObj }, {wantHtml: false, wantLink: false});
|
||||
}
|
||||
if (name != null && name != "") {
|
||||
domHdrName.innerText =
|
||||
|
Loading…
Reference in New Issue
Block a user