You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (JIRA)" <ji...@apache.org> on 2014/11/29 23:51:12 UTC

[jira] [Resolved] (THRIFT-2862) Enable RTTI and/or build macros for generated code

     [ https://issues.apache.org/jira/browse/THRIFT-2862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jens Geyer resolved THRIFT-2862.
--------------------------------
    Resolution: Fixed

Committed.

*Adds the following options:*

{{-gen haxe:rtti}}
Enable @:rtti for generated classes and interfaces

{{-gen haxe:buildmacro=my.macros.Class.method(args)}}
Add @:build macro calls to generated classes and interfaces, invoking the given method call. Note that args may be passed to the macro function, but due to the limitations of the Thrift command line it is currently not possible to pass multiple arguments delimited by comma. 
				 


> Enable RTTI and/or build macros for generated code
> --------------------------------------------------
>
>                 Key: THRIFT-2862
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2862
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Haxe - Compiler
>            Reporter: Jens Geyer
>            Assignee: Jens Geyer
>             Fix For: 0.9.3
>
>
> Add the ability to add {{@:rtti}} and  {{@:build(...)}} [macro invocation|http://haxe.org/manual/macro.html] to generated classes and interfaces. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)