etch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Fitzner (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (ETCH-109) C Binding: Mixins not fully functional
Date Mon, 18 Apr 2011 14:32:05 GMT

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

Michael Fitzner resolved ETCH-109.
----------------------------------

    Resolution: Fixed

The Mixin feature was added to the binding-c implementation. This change will also introduce
an incompatibility to your current binding-c stub implementations. The function mapping inside
the implementation modules have to be changed to the new structure.

Setting the implementation method in *_impl.c files have to be changed e.g. from

pserver->say_hello = pserver_base->say_hello = say_hello_impl;

to

etchmap_insertxw(pserver_base->virtuals, helloworld_valufact_get_static()->str_helloworld_say_hello,
say_hello_impl, FALSE);

An example can be found at examples/example_mixin  

> C Binding: Mixins not fully functional
> --------------------------------------
>
>                 Key: ETCH-109
>                 URL: https://issues.apache.org/jira/browse/ETCH-109
>             Project: Etch
>          Issue Type: Bug
>          Components: c-binding
>    Affects Versions: 1.1
>            Reporter: Holger Grandy
>            Assignee: Michael Fitzner
>             Fix For: 1.1.1
>
>         Attachments: etch-binding-c-mixins.patch
>
>
> Mixins may lead to incorrect generated code, valuefactory references wrong mixed-in-valuefactory
fields. Header includes for referenced mixin interface.h files are not correct

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message