X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=generator-macros%2Fpa_wrap.ml;h=a73484a46a41c73459aa451d23c671ac98872749;hb=68483fce4f959886866af28c1c3342c2a6fcb410;hp=adfd79974c9ea109bf2bc52584e06aabe7c2dbd2;hpb=ff4a39eec0c3d92b7fda62341e0734e07d5d2987;p=wrappi.git diff --git a/generator-macros/pa_wrap.ml b/generator-macros/pa_wrap.ml index adfd799..a73484a 100644 --- a/generator-macros/pa_wrap.ml +++ b/generator-macros/pa_wrap.ml @@ -90,9 +90,12 @@ EXTEND Gram (* A parameter or return type. *) any_type: [ - [ "int32" -> <:expr< Wrappi_types.TInt32 >> ] + [ "fileperm" -> <:expr< Wrappi_types.TFilePerm >> ] + | [ "int32" -> <:expr< Wrappi_types.TInt32 >> ] | [ "int64" -> <:expr< Wrappi_types.TInt64 >> ] - | [ t = LIDENT -> <:expr< Wrappi_types.Type $str:t$ >> ] + | [ "pathname" -> <:expr< Wrappi_types.TPathname >> ] + | [ "uint32" -> <:expr< Wrappi_types.TUInt32 >> ] + | [ "uint64" -> <:expr< Wrappi_types.TUInt64 >> ] ]; (* A return type. *)