Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Allow the IDL to generate code for recursive datatypes #115

Merged
merged 1 commit into from

2 participants

@jonludlam
Owner

Signed-off-by: Jon Ludlam jonathan.ludlam@eu.citrix.com

@jonludlam jonludlam Allow the IDL to generate code for recursive datatypes
Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>
9b0abf4
@djs55
Owner
@jonludlam
Owner

Yes (as of 1.30pm today!)

@jonludlam jonludlam merged commit 20d2e89 into xapi-project:master

1 check passed

Details default Merged build finished.
@djs55
Owner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 18, 2012
  1. @jonludlam

    Allow the IDL to generate code for recursive datatypes

    jonludlam authored
    Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 rpc-light/p4_idl.ml
View
4 rpc-light/p4_idl.ml
@@ -336,8 +336,8 @@ struct
let _loc = Ast.loc_of_str_item si in
<:str_item<
$si$;
- value $MyRpcLight.Rpc_of.gen_one (lid,[],body)$;
- value $MyRpcLight.Of_rpc.gen_one (lid,[],body)$;
+ value rec $MyRpcLight.Rpc_of.gen_one (lid,[],body)$
+ and $MyRpcLight.Of_rpc.gen_one (lid,[],body)$;
>>;;
AstFilters.register_str_item_filter begin fun si ->
Something went wrong with that request. Please try again.