Setting Default values to the struct variables in IDL file

2 posts / 0 new
Last post
Offline
Last seen: 11 months 2 days ago
Joined: 09/12/2014
Posts: 6
Setting Default values to the struct variables in IDL file

Hi just wondering if there is any way to set default values to the struct variables in IDL file?

Gerardo Pardo's picture
Offline
Last seen: 3 months 4 weeks ago
Joined: 06/02/2010
Posts: 589

Hello,

No I am afraid this is not currently possible. However the just approved IDL 4.0 specification added an annotation @default intended to be used for this purpose. So if there is enough interest from the users we could pick this up and offer that feature. As of now this is not planned.

Regards,

Gerardo