Configuring the EWL Extras Library

Use the EWL_NEEDS_EXTRAS macro to specify whether or not EWL should extend its standard behavior with the facilities that EWL Extras provides.

When building a custom version of EWL with EWL_NEEDS_EXTRAS defined as 1, EWL extends its standard library with the features that EWL Extras provides. When using EWL, EWL Extras features can then be accessed through standard header files.

The table below lists the standard header files that include EWL Extras facilities when EWL_NEEDS_EXTRAS is defined as 1.

When building EWL with EWL_NEEDS_EXTRAS defined as 0, EWL does not extend its standard library. EWL Extras facilities must be accessed directly through the EWL Extras non-standard header files.
Table 1. Extending Standard Header Files with EWL Extras
This standard header file

includes this EWL

Extras header file
stdlib.h extras_stdlib.h
string.h extras_string.h
time.h extras_time.h
wchar.h extras_wchar.h