Building the beast
OCI 8.1 API has approximately…
- 170 typedefs
- 530 functions
- 1000 macros
- and more are added with each Oracle release!
-
Oracle::OCI does not try to hardcode/handcode all those!
- The build process parses the Oracle header files in your own installation
- Then generates the Perl XS interface definition file to match
- using a customized version of h2xs with the C::Scan module
- The XS file then translated into C code and compiled
- Installer can choose which OCI functions to include