Re: [Vala] Generating vapi file for a simple struct




Is there any need for the cprefix and clower_case_prefix in this
case? I get the impression that they are not used as long as I
specify the cname itself.

There's no need to add cprefix in this case. cprefix and lower_case_cprefix (this is the real name) is used to give to the members some prefix and they only needed when there's some common prefix between the members. In this case you can make lower_case_cprefix="err" and define the members as num and mess. Try both i use cprefix in enums and lower_case_cprefix in classes and namespaces..

Matias


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]