From 15f6b8c682c168bf4a1ace877c875bf0988fdce1 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Tue, 4 Aug 2009 17:11:02 +0000 Subject: [PATCH] Update dbDefs.h changes. --- documentation/RELEASE_NOTES.html | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/documentation/RELEASE_NOTES.html b/documentation/RELEASE_NOTES.html index c33367b49..fc7b845b1 100644 --- a/documentation/RELEASE_NOTES.html +++ b/documentation/RELEASE_NOTES.html @@ -12,7 +12,7 @@

Changes between 3.14.10 and 3.14.11

-

Several macros and includes removed from dbDefs.h

+

Several changes made to dbDefs.h

The definitions for the macros YES, NO, NONE, min() and max() have been deleted. YES and @@ -21,15 +21,15 @@ from the menuYesNo.h file where they were used in several record types. The other macros were not being used anywhere in Base, sncseq or Asyn.

The macro LOCAL that was a synonym for static is now -deprecated and will be deleted soon, please adjust your code to use the latter -keyword. Any uses of the READONLY macro from shareLib.h must now be -replaced by the keyword const.

+deprecated and will be deleted in R3.15, please adjust your code to use the +latter keyword. All uses of the READONLY macro from shareLib.h must +now be replaced by the keyword const as the macro has been deleted.

-

The dbDefs.h file was also unnecessarily including some other libCom header +

The dbDefs.h file was unnecessarily including various other libCom header files which may have to be manually added to out-of-tree source files that relied on this. The general rule for header files is that a header should only -include other headers that are needed for its own inclusion in any source -file. The #include statements that might need to be added are:

+include other headers that are needed for its own inclusion in any source file. +The #include statements that might need to be added are:

+

A new macro CONTAINER(pointer, type, member) has been added which +calculates and returns a pointer to the parent structure when given a pointer to +a member, the structure type and the name of the member in that structure. On +GNU compilers the type of the pointer is checked to ensure that it matches the +member, so code using this macro should be built using gcc for additional +confidence.

+

Long-deprecated errSymFind() function deleted

This functionality was replaced by errSymLookup() many releases ago.