demexp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Demexp-dev] XDR _int32 attribute


From: David MENTRE
Subject: Re: [Demexp-dev] XDR _int32 attribute
Date: Mon, 26 Sep 2005 09:12:14 +0200

Hello Thomas,

2005/9/25, Thomas Petazzoni <address@hidden>:
> While trying to compile the demexp XDR file with an other RPC generator,
> I found that this generator doesn't understand the « _int32 » attribute
> used at three places in the XDR file.
>
> I've grepped RFC 1014, and haven't found any occurence for this
> attribute. What is it ? Is it specific to ocamlrpcgen ? Defined in a
> revised RFC ?

Yes, it is specific to ocamlrpcgen. It is used to tell the compiler to
map the specified RPC int into an OCaml Int32. By default, I map all
int to native 31-bits OCaml integers.

I suppose you implementation maps int to int32 so you can safely
ignore it with something like:
#define _int32 /* nothing */

Yours,
d.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]