Skip to content
Snippets Groups Projects
expr.h 590 B
Newer Older
Jeong Han Lee's avatar
Jeong Han Lee committed
#ifndef expr_h
#define expr_h

Anders Lindh Olsson's avatar
Anders Lindh Olsson committed
#include <stddef.h>

Jeong Han Lee's avatar
Jeong Han Lee committed
#ifdef __cplusplus
extern {
#endif

Anders Lindh Olsson's avatar
Anders Lindh Olsson committed
  extern int exprDebug;
Jeong Han Lee's avatar
Jeong Han Lee committed

Anders Lindh Olsson's avatar
Anders Lindh Olsson committed
  size_t replaceExpressions(const char *source, char *buffer,
                            size_t buffersize);
  /* Resolve integer expressions that are either free standing
   * or in parentheses () embedded in an unquoted word.
   * Do not resolve expressions in single or double quoted strings.
   * An expression optionally starts with a integer format such as %x.
   * It consists of integer numbers, operators and parentheses ().
   */
Jeong Han Lee's avatar
Jeong Han Lee committed

#ifdef __cplusplus
}
#endif
#endif