From e47e118dd79469993e0f7ca983c994a1d08528c1 Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Fri, 21 Apr 2000 18:37:25 +0000 Subject: [PATCH] cleaned up the messy spanish translation someone added fixed compiler warnings, changed some gints to gbooleans cleaned up namespace and documentation updated libgimp documentation --Sven --- libgimp/gimpsignal.c | 23 +++++++++++------------ libgimpbase/gimpsignal.c | 23 +++++++++++------------ 2 files changed, 22 insertions(+), 24 deletions(-) diff --git a/libgimp/gimpsignal.c b/libgimp/gimpsignal.c index e814e35b66..4c2c719566 100644 --- a/libgimp/gimpsignal.c +++ b/libgimp/gimpsignal.c @@ -21,11 +21,14 @@ #include "gimpsignal.h" + +/* Courtesy of Austin Donnelly 06-04-2000 to address bug #2742 */ + /** - * gimp_signal: - * @signum: selects signal to be handled see man 5 signal - * @handler: handler that maps to signum. Invoked by O/S. - * handler gets signal that caused invocation. + * gimp_signal_private: + * @signum: selects signal to be handled see man 5 signal + * @gimp_sighandler: handler that maps to signum. Invoked by O/S. + * handler gets signal that caused invocation. * @sa_flags: preferences. OR'ed SA_. See signal.h * * This function furnishes a workalike for signal(2) but @@ -33,21 +36,17 @@ * sa_flags are set; these primarily to ensure restarting * of interrupted system calls. See sigaction(2) It is a * aid to transition and not new development: that effort - * should employ sigaction directly. [ 18.04.2000] + * should employ sigaction directly. [gosgood 18.04.2000] * * Cause handler to be run when signum is delivered. We * use sigaction(2) rather than signal(2) so that we can control the * signal hander's environment completely via sa_flags: some signal(2) * implementations differ in their sematics, so we need to nail down - * exactly what we want. [ 06.04.2000] - * - * Returns: RetSigType (a reference to a signal handling function) + * exactly what we want. [austin 06.04.2000] * + * Returns: a reference to a signal handling function */ - -/* Courtesy of Austin Donnelly 06-04-2000 to address bug #2742 */ - -RetSigType +GimpRetSigType gimp_signal_private (gint signum, void (*gimp_sighandler)(int), gint sa_flags) { int ret; diff --git a/libgimpbase/gimpsignal.c b/libgimpbase/gimpsignal.c index e814e35b66..4c2c719566 100644 --- a/libgimpbase/gimpsignal.c +++ b/libgimpbase/gimpsignal.c @@ -21,11 +21,14 @@ #include "gimpsignal.h" + +/* Courtesy of Austin Donnelly 06-04-2000 to address bug #2742 */ + /** - * gimp_signal: - * @signum: selects signal to be handled see man 5 signal - * @handler: handler that maps to signum. Invoked by O/S. - * handler gets signal that caused invocation. + * gimp_signal_private: + * @signum: selects signal to be handled see man 5 signal + * @gimp_sighandler: handler that maps to signum. Invoked by O/S. + * handler gets signal that caused invocation. * @sa_flags: preferences. OR'ed SA_. See signal.h * * This function furnishes a workalike for signal(2) but @@ -33,21 +36,17 @@ * sa_flags are set; these primarily to ensure restarting * of interrupted system calls. See sigaction(2) It is a * aid to transition and not new development: that effort - * should employ sigaction directly. [ 18.04.2000] + * should employ sigaction directly. [gosgood 18.04.2000] * * Cause handler to be run when signum is delivered. We * use sigaction(2) rather than signal(2) so that we can control the * signal hander's environment completely via sa_flags: some signal(2) * implementations differ in their sematics, so we need to nail down - * exactly what we want. [ 06.04.2000] - * - * Returns: RetSigType (a reference to a signal handling function) + * exactly what we want. [austin 06.04.2000] * + * Returns: a reference to a signal handling function */ - -/* Courtesy of Austin Donnelly 06-04-2000 to address bug #2742 */ - -RetSigType +GimpRetSigType gimp_signal_private (gint signum, void (*gimp_sighandler)(int), gint sa_flags) { int ret;