[vala/0.10-parallel: 24/32] codegen: Fix external constants
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.10-parallel: 24/32] codegen: Fix external constants
- Date: Fri, 17 Sep 2010 23:03:00 +0000 (UTC)
commit 927fa858492e0d73618da897163ab7b7eb945d28
Author: Jürg Billeter <j bitron ch>
Date: Fri Sep 10 08:33:52 2010 +0200
codegen: Fix external constants
codegen/valaccodebasemodule.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/codegen/valaccodebasemodule.vala b/codegen/valaccodebasemodule.vala
index f39eb1c..2774707 100644
--- a/codegen/valaccodebasemodule.vala
+++ b/codegen/valaccodebasemodule.vala
@@ -852,7 +852,7 @@ public class Vala.CCodeBaseModule : CodeGenerator {
return;
}
- if (c.source_reference.file.file_type != SourceFileType.PACKAGE) {
+ if (!c.external) {
generate_type_declaration (c.type_reference, decl_space);
c.value.emit (this);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]