summaryrefslogtreecommitdiff
path: root/TAO/NEWS
diff options
context:
space:
mode:
authorFred Hornsey <hornseyf@objectcomputing.com>2021-07-20 00:15:00 -0500
committerFred Hornsey <hornseyf@objectcomputing.com>2021-07-20 01:07:58 -0500
commit8ece0e448f1905c36ce5aaad498c5565550c0021 (patch)
treec8c7be2a2e15fcdaf68c12fc7c7564da41fe33ab /TAO/NEWS
parentf46f63fcc2c467b6684855da743db9f77e93c240 (diff)
downloadATCD-8ece0e448f1905c36ce5aaad498c5565550c0021.tar.gz
Header File for TAO_IDL Supported IDL Features
Get information about what IDL features the IDL compiler has, similarly to the "version" standard header in C++. In C++ it can be used like this if you want to be compatible with older versions of TAO: ```c++ #include "tao/orbconf.h" #if defined TAO_HAS_IDL_FEATURES && TAO_HAS_IDL_FEATURES // Use this macro if you are using something that's not the max possible // version. # define TAO_IDL_IDL_VERSION 0x50000 # include "tao/idl_features.h" # define USE_FEATURE defined TAO_IDL_HAS_FEATURE && TAO_IDL_HAS_FEATURE #else # define USE_FEATURE 0 #endif ``` In IDL it can be used like this if you want to be compatible with older versions of TAO: ```c++ #if defined __TAO_IDL_FEATURES # include __TAO_IDL_FEATURES # define USE_FEATURE defined TAO_IDL_HAS_FEATURE && TAO_IDL_HAS_FEATURE #else # define USE_FEATURE 0 #endif ```
Diffstat (limited to 'TAO/NEWS')
-rw-r--r--TAO/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/TAO/NEWS b/TAO/NEWS
index eaa44155c4a..c8903aefc78 100644
--- a/TAO/NEWS
+++ b/TAO/NEWS
@@ -6,6 +6,9 @@ USER VISIBLE CHANGES BETWEEN TAO-3.0.2 and TAO-3.0.3
these are new distinct types that are not aliases of existing types covered
by the CORBA specification.
+. Added the `tao/idl_features.h` header file for getting the IDL features
+ supported by IDL. See the file for example usage.
+
USER VISIBLE CHANGES BETWEEN TAO-3.0.1 and TAO-3.0.2
====================================================