[gegl] Convert C++ style comments to C style
- From: Martin Nordholts <martinn src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] Convert C++ style comments to C style
- Date: Sun, 16 May 2010 08:04:03 +0000 (UTC)
commit d1562f55baa8f4b36017f9fdfdd46e7d124fc932
Author: Danny Robson <danny blubinc net>
Date: Sat May 15 01:47:38 2010 +0000
Convert C++ style comments to C style
While a pedantic issue, this throws up warnings/errors on some compilers
(eg, clang) which clutters compilation. May help on other compilers
which are more strict than gcc.
gegl/buffer/gegl-buffer.c | 2 +-
gegl/graph/gegl-node.c | 2 +-
operations/affine/affine.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gegl/buffer/gegl-buffer.c b/gegl/buffer/gegl-buffer.c
index 3c581ec..2dfdf1a 100644
--- a/gegl/buffer/gegl-buffer.c
+++ b/gegl/buffer/gegl-buffer.c
@@ -75,7 +75,7 @@
#include "gegl-buffer-index.h"
#include "gegl-config.h"
-//#define GEGL_BUFFER_DEBUG_ALLOCATIONS
+/* #define GEGL_BUFFER_DEBUG_ALLOCATIONS */
/* #define GEGL_BUFFER_DEBUG_ALLOCATIONS to print allocation stack
* traces for leaked GeglBuffers using GNU C libs backtrace_symbols()
diff --git a/gegl/graph/gegl-node.c b/gegl/graph/gegl-node.c
index a3fc8c5..9e9185f 100644
--- a/gegl/graph/gegl-node.c
+++ b/gegl/graph/gegl-node.c
@@ -845,7 +845,7 @@ gegl_node_apply_roi (GeglNode *self,
*/
GeglBuffer *buffer;
- //g_print ("%i %i %i %i %i\n", tid, roi->x, roi->y, roi->width, roi->height);
+ /*g_print ("%i %i %i %i %i\n", tid, roi->x, roi->y, roi->width, roi->height);*/
if (roi)
{
diff --git a/operations/affine/affine.c b/operations/affine/affine.c
index fa4eb37..42ca40e 100644
--- a/operations/affine/affine.c
+++ b/operations/affine/affine.c
@@ -467,7 +467,7 @@ gegl_affine_get_source_matrix (OpAffine *affine,
g_assert (IS_OP_AFFINE (source));
gegl_affine_create_composite_matrix (OP_AFFINE (source), output);
- //gegl_matrix3_copy (output, OP_AFFINE (source)->matrix);
+ /*gegl_matrix3_copy (output, OP_AFFINE (source)->matrix);*/
}
static GeglRectangle
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]