Skip to content

Commit 85022bd

Browse files
Update implementation file with generated annotation
1 parent 94884bb commit 85022bd

4 files changed

Lines changed: 5 additions & 4 deletions

File tree

test/generators/html/Oxcaml_impl.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ <h1>Module <code><span>Oxcaml_impl</span></code></h1>
2222
<span><span class="keyword">val</span> add :
2323
<span>bool <span class="arrow">&#45;&gt;</span></span>
2424
<span>int <span class="arrow">&#45;&gt;</span></span>
25-
<span>int <span class="arrow">&#45;&gt;</span></span> int
25+
<span>int <span class="arrow">&#45;&gt;</span></span> int
26+
[@@zero_alloc arity 3]
2627
</span>
2728
</code>
2829
</div>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
\section{Module \ocamlinlinecode{Oxcaml\_\allowbreak{}impl}}\label{Oxcaml_impl}%
2-
\label{Oxcaml_impl--val-add}\ocamlcodefragment{\ocamltag{keyword}{val} add : bool \ocamltag{arrow}{$\rightarrow$} int \ocamltag{arrow}{$\rightarrow$} int \ocamltag{arrow}{$\rightarrow$} int}\\
2+
\label{Oxcaml_impl--val-add}\ocamlcodefragment{\ocamltag{keyword}{val} add : bool \ocamltag{arrow}{$\rightarrow$} int \ocamltag{arrow}{$\rightarrow$} int \ocamltag{arrow}{$\rightarrow$} int [@@zero\_\allowbreak{}alloc arity 3]}\\
33

44

test/generators/man/Oxcaml_impl.3o

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ Oxcaml_impl
1111
.SH Documentation
1212
.sp
1313
.nf
14-
\f[CB]val\fR add : bool \f[CB]\->\fR int \f[CB]\->\fR int \f[CB]\->\fR int
14+
\f[CB]val\fR add : bool \f[CB]\->\fR int \f[CB]\->\fR int \f[CB]\->\fR int [@@zero_alloc arity 3]

test/generators/markdown/Oxcaml_impl.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
# Module `Oxcaml_impl`
33

44
```ocaml
5-
val add : bool -> int -> int -> int
5+
val add : bool -> int -> int -> int [@@zero_alloc arity 3]
66
```

0 commit comments

Comments
 (0)