Re: [Vala] Not Existing CCodeBaseModule in Vala context
- From: Al Thomas <astavale yahoo co uk>
- To: Sébastien Granjoux <seb sfo free fr>, <vala-list gnome org>
- Subject: Re: [Vala] Not Existing CCodeBaseModule in Vala context
- Date: Wed, 30 Aug 2017 20:04:00 +0000 (UTC)
From: Sébastien Granjoux <seb sfo free fr>
Sent: Wednesday, August 30, 2017, 8:55:04 PM GMT+1
Subject: [Vala] Not Existing CCodeBaseModule in Vala context
With vala 0.38, I get the error:
error: The name `CCodeBaseModule' does not exist in the context of `Vala'
on the following line
scope_prefix = Vala.CCodeBaseModule.get_ccode_lower_case_prefix (scope);
I don't know much about Vala but this line looks valid to me. It is
working with Vala 0.36. I think the CCodeBaseModule comes from the vala
compiler itself, I imagine that it is always available in the Vala
namespace. How could I fix this code?
It is because of this change:
https://git.gnome.org/browse/vala/commit/?id=c9aa4716b2645af40080bd6523065e78fceba3b4
CCode and Codegen are internal to libvala. That allows internal refactoring of the codewithout breaking users
of libvala. There will be on going work to reduce the size of theVala API. Ideally libvala clients would be
internal to the Vala project and external users wouldmake use of those clients, e.g. valac and valadoc.
Please give details of your project and specific use case for get_ccode_lower_case_prefix ()
Regards,
Al
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]