[Vala] gross string literals
- From: Sam Liddicott <sam liddicott com>
- To: vala-list gnome org
- Subject: [Vala] gross string literals
- Date: Mon, 23 Jun 2008 17:28:58 +0100
protected static const string xmldef="blah";
is implemented in the C .h file as:
#define PHONE_UI_GLADE_xmldef "blah"
I get uneasy because in some of my cases the string could be a few
thousand characters long.
I'd rather it was implemented directly as a string constant, with
"extern" in the header file.
Sam
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]