Changeset: c0a460179635 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=c0a460179635
Modified Files:
        gdk/gdk_tracer.c
        gdk/gdk_tracer.h
Branch: gdk-tracer
Log Message:

Minor changes - removed some comments


diffs (88 lines):

diff --git a/gdk/gdk_tracer.c b/gdk/gdk_tracer.c
--- a/gdk/gdk_tracer.c
+++ b/gdk/gdk_tracer.c
@@ -54,7 +54,6 @@ static void
 }
 
 
-// Check if log file is open
 static void 
 _GDKtracer_file_is_open(FILE *file)
 {
@@ -199,7 +198,7 @@ GDKtracer_set_component_log_level(COMPON
         return GDK_FAIL;
         
     LOG_LEVELS_LIST[comp] = level;
-    
+
     return GDK_SUCCEED;
 }
 
diff --git a/gdk/gdk_tracer.h b/gdk/gdk_tracer.h
--- a/gdk/gdk_tracer.h
+++ b/gdk/gdk_tracer.h
@@ -27,12 +27,12 @@
 // Print only the filename without the path
 #define __FILENAME__ (__builtin_strrchr(__FILE__, '/') ? 
__builtin_strrchr(__FILE__, '/') + 1 : __FILE__)
 
-// TODO -> Sort it per layer
+/* CHECK */
+// Sort it per layer 
 // COMPONENTS 
 typedef enum { 
 
-               // ALL
-               M_ALL,
+               // M_ALL,
 
                // Specific 
                ALLOC,
@@ -46,8 +46,7 @@ typedef enum {
                FITS,
                SHP,
 
-               // SQL
-               SQL_ALL,
+               // SQL_ALL,
                SQL_ATOM_TR,
                SQL_STATISTICS,
                SQL_ORDERIDX,
@@ -65,9 +64,7 @@ typedef enum {
                SQL_STATEMENT,
                SQL_BAT,
 
-
-               // MAL
-               MAL_ALL,
+               // MAL_ALL,
                MAL_MEMO,
                MAL_SESSION,
                MAL_INTERPRETER,
@@ -95,9 +92,6 @@ typedef enum {
                MAL_PROFILER,
                MAL_MAL,
                MAL_DEBUGGER,
-
-
-               // OPT
                MAL_OPT_ALIASES,
                MAL_OPT_CANDIDATES,
                MAL_OPT_COERCION,
@@ -132,8 +126,7 @@ typedef enum {
                MAL_OPT_MACRO,
                MAL_OPT_POSTFIX,
             
-               // GDK
-               GDK_ALL,
+               // GDK_ALL,
                GDK_LOGGER,
 
                COMPONENTS_COUNT // Do not remove - it is used in order to find 
quickly
@@ -255,7 +248,6 @@ gdk_return GDKtracer_set_adapter(ADAPTER
 gdk_return GDKtracer_reset_adapter(void);
 
 
-// TODO -> Write comments
 // Candidate for 'gnu_printf' format attribute 
[-Werror=suggest-attribute=format] 
 gdk_return GDKtracer_log(LOG_LEVEL level, const char *fmt, ...) __attribute__ 
((format (printf, 2, 3)));
 
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to