Hey all,

I'm testing zproject for a new library. Simple question to clear it out for me; zproject does generate some header files, I'm just not sure when which. For example I have setup a simple project with an api.

ie:

<class name = "sphactor" state = "stable">
    <constructor>
        Constructor, creates a new Sphactor node.
        <argument name = "name" type = "string" optional = "1" />
        <argument name = "uuid" type = "zuuid" optional = "1" />
    </constructor>
etc.

Zproject has parsed this and has provided me with a skeleton with a header include/sphactor.h. If I now update the api file with:

    <method name = "endpoint">
        Return our sphactor's endpoint, after successful initialization.
        The endpoint is usually inproc://<uuid>
        <return type = "string" />
    </method>

And rerun zproject. The include/sphactor.h is not updated. I have to do this manually. Is this correct or is there a way to let zproject reflect the changes in the api to the header?

As reference, here's the project file: https://github.com/sphaero/libsphactor/blob/master/project.xml

Rg,

Arnaud
_______________________________________________
zeromq-dev mailing list
[email protected]
https://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to