Updated zh_vector

This commit is contained in:
2024-05-30 08:44:36 +03:00
parent e2078e46b1
commit bb0a99ac2b
4 changed files with 25 additions and 24 deletions

View File

@ -46,7 +46,7 @@ char example[10] = {0};
void app_main(void) void app_main(void)
{ {
// esp_log_level_set("zh_vector", ESP_LOG_NONE); esp_log_level_set("zh_vector", ESP_LOG_NONE);
zh_vector_init(&vector, sizeof(example), false); zh_vector_init(&vector, sizeof(example), false);
printf("Initial vector size is: %d\n", zh_vector_get_size(&vector)); printf("Initial vector size is: %d\n", zh_vector_get_size(&vector));
strcpy(example, "Item 1"); strcpy(example, "Item 1");

View File

@ -1 +1 @@
1.4.6 1.0.0

View File

@ -1,6 +1,7 @@
/** /**
* @file * @file
* The main code of the zh_vector component. * The main code of the zh_vector component.
*
*/ */
#include "zh_vector.h" #include "zh_vector.h"