Menu

#81 No «convention» for data types

None
closed
generation (5)
1
2014-04-22
2013-07-13
No

The Rose-based version of ColdFrame supported «convention» for operations, and purported to support it for data types as well; however, although the .norm file contained the convention="lang" attributes for all the above, the code generation only recognised it on operations.

Why use «convention» anyway? The only obvious reason is to support callbacks from the foreign language, which clearly needs the operations to have the appropriate convention. But what about parameter/return types? Could we get away with importing Interfaces.C and friends?

Discussion

  • Simon Wright

    Simon Wright - 2013-07-14
    • status: open --> pending
    • Group: -->
     
  • Simon Wright

    Simon Wright - 2013-07-14

    «convention» now supported for class data types, enumerations and operations (not for plain data types, which are all (I think) of the kind that can't be conventioned, e.g. «imported»).

    Revision 28f010f797e0.

     
  • Simon Wright

    Simon Wright - 2014-04-22
    • status: pending --> closed
     
  • Simon Wright

    Simon Wright - 2014-04-22

    Fixed in Release_20140422.

     

Log in to post a comment.

MongoDB Logo MongoDB