Skip to content

Commit

Permalink
update version
Browse files Browse the repository at this point in the history
  • Loading branch information
eisenhauer committed Aug 5, 2024
1 parent 62f7980 commit a63862a
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .indent.pro
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-nbad -bap -nbc -br -c33 -cd33 -ncdb -ce -ci4 -brs
-cli0 -cp33 -d0 -di1 -fc1 -fca -i4 -ip0 -l75 -lp
-cli0 -cp33 -d0 -di1 -fc1 -fca -i4 -ip0 -l120 -lp
-npcs -psl -sc -nsob -nss -ts8 -TIOFile -TIOFormat -TIOConversionPtr
-TIOFieldList -TIORecordType -TIOFieldPtr
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.5)
# GTKorvo
set(CMAKE_DIRECTORY_LABELS EVPath)

project(EVPath VERSION 4.5.1 LANGUAGES C CXX)
project(EVPath VERSION 4.5.2 LANGUAGES C CXX)

# Enable <PackageName>_ROOT variables for dependency searching
# CMake v3.12
Expand Down
25 changes: 9 additions & 16 deletions cmdemo.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,12 @@ typedef struct _nested_rec {
complex item;
} nested, *nested_ptr;

static IOField nested_field_list[] =
{
static IOField nested_field_list[] = {
{"item", "complex", sizeof(complex), IOOffset(nested_ptr, item)},
{NULL, NULL, 0, 0}
};

static IOField complex_field_list[] =
{
static IOField complex_field_list[] = {
{"r", "double", sizeof(double), IOOffset(complex_ptr, r)},
{"i", "double", sizeof(double), IOOffset(complex_ptr, i)},
{NULL, NULL, 0, 0}
Expand All @@ -48,8 +46,7 @@ typedef struct _simple_rec {
int scan_sum;
} simple_rec, *simple_rec_ptr;

static IOField simple_field_list[] =
{
static IOField simple_field_list[] = {
{"integer_field", "integer",
sizeof(int), IOOffset(simple_rec_ptr, integer_field)},
{"short_field", "integer",
Expand All @@ -67,15 +64,14 @@ static IOField simple_field_list[] =
{NULL, NULL, 0, 0}
};

static CMFormatRec simple_format_list[] =
{
static CMFormatRec simple_format_list[] = {
{"complex", complex_field_list},
{"nested", nested_field_list},
{NULL, NULL}
};

static
void
void
generate_record(event)
simple_rec_ptr event;
{
Expand Down Expand Up @@ -103,7 +99,7 @@ simple_rec_ptr event;
int quiet = -1;

static
void
void
simple_handler(cm, conn, vevent, client_data, attrs)
CManager cm;
CMConnection conn;
Expand All @@ -123,8 +119,7 @@ attr_list attrs;
sum = sum % 100;
scan_sum = event->scan_sum;
if (sum != scan_sum) {
printf("Received record checksum does not match. expected %d, got %d\n",
(int) sum, (int) scan_sum);
printf("Received record checksum does not match. expected %d, got %d\n", (int) sum, (int) scan_sum);
}
if ((quiet <= 0) || (sum != scan_sum)) {
printf("In the handler, event data is :\n");
Expand Down Expand Up @@ -168,8 +163,7 @@ char **argv;
CMlisten_specific(cm, listen_list);
contact_list = CMget_contact_list(cm);
printf("Contact list \"%s\"\n", attr_list_to_string(contact_list));
format = CMregister_format(cm, "simple", simple_field_list,
simple_format_list);
format = CMregister_format(cm, "simple", simple_field_list, simple_format_list);
CMregister_handler(format, simple_handler, NULL);
CMsleep(cm, 120);
} else {
Expand All @@ -186,8 +180,7 @@ char **argv;
exit(1);
}
}
format = CMregister_format(cm, "simple", simple_field_list,
simple_format_list);
format = CMregister_format(cm, "simple", simple_field_list, simple_format_list);
generate_record(&data);
attrs = create_attr_list();
#define CMDEMO_TEST_ATOM ATL_CHAR_CONS('C','\115','\104','t')
Expand Down
2 changes: 1 addition & 1 deletion version.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <stdio.h>
#include "config.h"

static char *EVPath_version = "EVPath Version 4.2.4 -- Mon Dec 4 16:21:33 EST 2017\n";
static char *EVPath_version = "EVPath Version 4.5.2 -- Mon Aug 5 15:33:46 EDT 2024\n";

#if defined (__INTEL_COMPILER)
// Allow extern declarations with no prior decl
Expand Down

0 comments on commit a63862a

Please sign in to comment.