Procházet zdrojové kódy

Renamed type names (DB_ -> DB1_) in comments and documentation.

Jan Janak před 16 roky
rodič
revize
cb5aaf8335
2 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 1 1
      lib/srdb1/db_row.c
  2. 1 1
      lib/srdb1/db_val.h

+ 1 - 1
lib/srdb1/db_row.c

@@ -52,7 +52,7 @@ inline int db_free_row(db_row_t* _r)
 	/*
 	 * Loop thru each columm, then check to determine if the storage pointed to
 	 * by db_val_t structure must be freed. This is required for all data types
-	 * which use a pointer to a buffer like DB_STRING, DB_STR and DB_BLOB and
+	 * which use a pointer to a buffer like DB1_STRING, DB1_STR and DB1_BLOB and
 	 * the database module copied them during the assignment.
 	 * If this is not done, a memory leak will happen.
 	 * Don't try to free the static dummy string (as indicated from the NULL value),

+ 1 - 1
lib/srdb1/db_val.h

@@ -27,7 +27,7 @@
  *
  * This file defines data structures that represents values in the database.
  * Several datatypes are recognized and converted by the database API.
- * Available types: DB_INT, DB_DOUBLE, DB_STRING, DB_STR, DB_DATETIME, DB_BLOB and DB_BITMAP
+ * Available types: DB1_INT, DB1_DOUBLE, DB1_STRING, DB1_STR, DB1_DATETIME, DB1_BLOB and DB1_BITMAP
  * It also provides some macros for convenient access to this values,
  * and a function to convert a str to a value.
  * \ingroup db