Next: Mapping for classes, interfaces
Up: C Bindings
Previous: Basic Types
  Contents
If you would like to use type X.Y.Z from C, you should
#include "X_Y_Z.h". If you would like to include the header
files for a whole package X.Y, you can #include
"X_Y.h". For example, you can include all the types in the
SIDL namespace with #include "SIDL.h".
Each client side header file will ensure that SIDL_header.h is
included. SIDL_header.h defines:
- struct SIDL_dcomplex for the SIDL dcomplex type with
parts named real and imaginary;
- struct SIDL_fcomplex for the SIDL fcomplex type with
parts named real and imaginary;
- int32_t and int64_t for the SIDL int and long
types;
- a typedef for SIDL_bool for the SIDL bool type;
- preprocessor symbols TRUE and FALSE; and
- function prototypes for the multi-dimensional array APIs for
the basic SIDL types.
In general, clients don't need to worry about including
SIDL_header.h because the Babel generated
header files will include it for you.
babel-0.8.6
users_guide Last Modified 2003-07-09
http://www.llnl.gov/CASC/components
components@llnl.gov