[glibmm] tools: Remove blank lines in files.
- From: José Alburquerque <jaalburqu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm] tools: Remove blank lines in files.
- Date: Mon, 29 Apr 2013 21:42:16 +0000 (UTC)
commit befeacd9c249c84e9d33d70d81f286ab2ed91d30
Author: José Alburquerque <jaalburquerque gmail com>
Date: Mon Apr 29 15:13:29 2013 -0400
tools: Remove blank lines in files.
tools/gmmproc.in | 4 ++--
tools/m4/class_interface.m4 | 2 +-
tools/m4/initialize_glib.m4 | 2 +-
tools/pm/Function.pm | 4 ++--
tools/pm/Output.pm | 10 +++++-----
tools/pm/WrapParser.pm | 2 +-
6 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/tools/gmmproc.in b/tools/gmmproc.in
index 5349c51..68f53ca 100644
--- a/tools/gmmproc.in
+++ b/tools/gmmproc.in
@@ -161,9 +161,9 @@ sub print_usage()
Alternatively, set GMMPROC_DEBUG=1 in the environment.
--unwrapped Warn about possible unwrapped functions.
-
+
--return-mismatches Warn about possible method return mismatches.
-
+
--defs dir Change the directory to seach for defs.
-I dir Specify the directory with m4 files.
diff --git a/tools/m4/class_interface.m4 b/tools/m4/class_interface.m4
index a2ab274..fe4add6 100644
--- a/tools/m4/class_interface.m4
+++ b/tools/m4/class_interface.m4
@@ -245,7 +245,7 @@ protected:
* You should derive from this class to use it.
*/
__CPPNAME__`'();
-
+
#ifndef DOXYGEN_SHOULD_SKIP_THIS
/** Called by constructors of derived classes. Provide the result of
* the Class init() function to ensure that it is properly
diff --git a/tools/m4/initialize_glib.m4 b/tools/m4/initialize_glib.m4
index 649fde6..47302cd 100644
--- a/tools/m4/initialize_glib.m4
+++ b/tools/m4/initialize_glib.m4
@@ -8,6 +8,6 @@ _INITIALIZATION(`bool&',`gboolean',`$3 = static_cast<bool>($4)')
dnl VariantBase
_INITIALIZATION(`Glib::VariantBase&',`GVariant*',`$3 = Glib::wrap($4)')
-
+
dnl VariantType
_INITIALIZATION(`Glib::VariantType&',`const GVariantType*',`$3 = Glib::wrap(const_cast<GVariantType*>($4))')
diff --git a/tools/pm/Function.pm b/tools/pm/Function.pm
index 960208f..592e3f4 100644
--- a/tools/pm/Function.pm
+++ b/tools/pm/Function.pm
@@ -234,11 +234,11 @@ sub parse_param($$)
# Get the options.
my $options = $1;
-
+
# Check if param should be optional or an output param.
$flags = FLAG_PARAM_OPTIONAL if($options =~ /\?/);
$flags |= FLAG_PARAM_OUTPUT if($options =~ />>/);
-
+
# Check if it should be mapped to a C param.
if ($options =~ /(\w+|\.)/)
{
diff --git a/tools/pm/Output.pm b/tools/pm/Output.pm
index dc69675..df7d9ff 100644
--- a/tools/pm/Output.pm
+++ b/tools/pm/Output.pm
@@ -1182,7 +1182,7 @@ sub convert_args_c_to_cpp($$$)
$num_c_args-- if($$objCDefsFunc{throw_any_errors});
my $num_cpp_args = scalar(@{$cpp_param_types});
-
+
# If the method has a slot temporarily increment the C++ arg count when
# comparing the C++ and C argument count because the C function would
# have a final 'gpointer data' parameter and the C++ method would not.
@@ -1245,11 +1245,11 @@ sub convert_args_c_to_cpp($$$)
if ($$objCppfunc{slot_name} eq $cppParamName)
{
push(@result, "*slot");
-
+
# Get the slot type without the const and the '&' and store it so
# it can be passed to the m4 macro.
$cppParamType =~ /^const\s+(.*)&/;
-
+
# If the type does not contain
# any '::' then assume that it is in the library standard namespace
# by prepending '__NAMESPACE__::' to it which the m4 macros will
@@ -1259,11 +1259,11 @@ sub convert_args_c_to_cpp($$$)
if (!($plainCppParamType =~ /::/));
$$objCppfunc{slot_type} = $plainCppParamType;
-
+
# Store the name of the C data parameter so it can be passed
# to the m4 macro so it can extract the slot.
$$objCppfunc{c_data_param_name} = $$c_param_names[$num_c_args - 1];
-
+
next;
}
}
diff --git a/tools/pm/WrapParser.pm b/tools/pm/WrapParser.pm
index 8235218..c620e4a 100644
--- a/tools/pm/WrapParser.pm
+++ b/tools/pm/WrapParser.pm
@@ -1517,7 +1517,7 @@ sub output_wrap_vfunc($$$$$$$$$$$$)
$$objCppVfunc{rettype_needs_ref} = $refreturn;
$$objCppVfunc{name} .= "_vfunc"; #All vfuncs should have the "_vfunc" suffix, and a separate easily-named
invoker method.
-
+
# Store the slot information in the vfunc if specified.
$$objCppVfunc{slot_name} = $slot_name if ($slot_name);
$$objCppVfunc{slot_callback} = $slot_callback if ($slot_callback);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]