aboutsummaryrefslogtreecommitdiffstats
path: root/docs/archapi.md
diff options
context:
space:
mode:
authormyrtle <gatecat@ds0.me>2022-12-04 12:27:53 +0100
committerGitHub <noreply@github.com>2022-12-04 12:27:53 +0100
commitdb25c5c88998aa73725f2a4625d74f38615aaa82 (patch)
tree54b19ced7d12dcc3f61f6c21b1500721370b8ee4 /docs/archapi.md
parentf07d9a18356ec8df74d9c42693f7b9307e390a7f (diff)
parent91454515f4a0d87f42af7cd61cdf925c8fdb9229 (diff)
downloadnextpnr-db25c5c88998aa73725f2a4625d74f38615aaa82.tar.gz
nextpnr-db25c5c88998aa73725f2a4625d74f38615aaa82.tar.bz2
nextpnr-db25c5c88998aa73725f2a4625d74f38615aaa82.zip
Merge pull request #1054 from YosysHQ/gatecat/api-add-const
api: Make NetInfo* of checkPipAvailForNet const
Diffstat (limited to 'docs/archapi.md')
-rw-r--r--docs/archapi.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/archapi.md b/docs/archapi.md
index 3fc30cdb..efd833d2 100644
--- a/docs/archapi.md
+++ b/docs/archapi.md
@@ -402,7 +402,7 @@ pip to a net.
*BaseArch default: returns `getBoundPipNet(pip) == nullptr`*
-### bool checkPipAvailForNet(PipId pip, NetInfo *net) const
+### bool checkPipAvailForNet(PipId pip, const NetInfo *net) const
Returns true if the given pip is available to be bound to a net, or if the
pip is already bound to that net.