Skip to content

Commit 046fa10

Browse files
committed
fix: C API Datalog example — result columns are reach__c0, reach__c1
1 parent a90035e commit 046fa10

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

website/docs/c-api-dag.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,7 @@ <h4>Datalog example: transitive closure</h4>
770770
<span class="hl-fn">dl_stratify</span>(prog);
771771
<span class="hl-fn">dl_eval</span>(prog);
772772
<span class="hl-type">ray_t</span>* result = <span class="hl-fn">dl_query</span>(prog, <span class="hl-str">"reach"</span>);
773-
<span class="hl-comment">/* result is a table with columns c0, c1:
773+
<span class="hl-comment">/* result is a table with columns reach__c0, reach__c1:
774774
* 0 | 1
775775
* 1 | 2
776776
* 2 | 3

0 commit comments

Comments
 (0)