[vala/parallel] Rename --fast-internal-vapi to --fast-vapi



commit d590635e1113c5e1350968adbef7365a7fc14ef4
Author: Ryan Lortie <desrt desrt ca>
Date:   Thu Aug 19 12:44:48 2010 -0400

    Rename --fast-internal-vapi to --fast-vapi

 compiler/valacompiler.vala |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/compiler/valacompiler.vala b/compiler/valacompiler.vala
index 1424f0e..9f04372 100644
--- a/compiler/valacompiler.vala
+++ b/compiler/valacompiler.vala
@@ -45,7 +45,7 @@ class Vala.Compiler {
 	static bool use_header;
 	static string internal_header_filename;
 	static string internal_vapi_filename;
-	static string fast_internal_vapi_filename;
+	static string fast_vapi_filename;
 	static string symbols_filename;
 	static string includedir;
 	static bool compile_only;
@@ -96,7 +96,7 @@ class Vala.Compiler {
 		{ "includedir", 0, 0, OptionArg.FILENAME, ref includedir, "Directory used to include the C header file", "DIRECTORY" },
 		{ "internal-header", 'h', 0, OptionArg.FILENAME, ref internal_header_filename, "Output internal C header file", "FILE" },
 		{ "internal-vapi", 0, 0, OptionArg.FILENAME, ref internal_vapi_filename, "Output vapi with internal api", "FILE" },
-		{ "fast-internal-vapi", 0, 0, OptionArg.STRING, ref fast_internal_vapi_filename, "Output vapi without performing symbol resolution", null },
+		{ "fast-vapi", 0, 0, OptionArg.STRING, ref fast_vapi_filename, "Output vapi without performing symbol resolution", null },
 		{ "symbols", 0, 0, OptionArg.FILENAME, ref symbols_filename, "Output symbols file", "FILE" },
 		{ "compile", 'c', 0, OptionArg.NONE, ref compile_only, "Compile but do not link", null },
 		{ "output", 'o', 0, OptionArg.FILENAME, ref output, "Place output in file FILE", "FILE" },
@@ -257,7 +257,7 @@ class Vala.Compiler {
 		} else {
 			Report.error (null, "Unknown profile %s".printf (profile));
 		}
-		nostdpkg |= fast_internal_vapi_filename != null;
+		nostdpkg |= fast_vapi_filename != null;
 		context.nostdpkg = nostdpkg;
 
 		context.entry_point_name = entry_point;
@@ -407,9 +407,9 @@ class Vala.Compiler {
 			return quit ();
 		}
 
-		if (fast_internal_vapi_filename != null) {
+		if (fast_vapi_filename != null) {
 			var interface_writer = new CodeWriter (CodeWriterType.FAST);
-			interface_writer.write_file (context, fast_internal_vapi_filename);
+			interface_writer.write_file (context, fast_vapi_filename);
 			return quit ();
 		}
 		



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