You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@etch.apache.org by "Michael Fitzner (JIRA)" <ji...@apache.org> on 2011/04/18 16:32:05 UTC

[jira] [Resolved] (ETCH-109) C Binding: Mixins not fully functional

     [ 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