source: trunk/src/emx/include/xregex.h@ 1064

Last change on this file since 1064 was 123, checked in by zap, 22 years ago

Started the work for re-designing the EMX C runtime library to not require
EMX.DLL. The new design is projected to be as follows:

  • all emx syscalls are replaced with the routines from the old sys.lib library which is now compilable in both a.out and OMF formats.
  • the sys.a library should be made replaceable and selectable by some gcc switch (e.g. -msyslib=emx would link with emx.a instead of sys.a which would give almost full backward compatibility with emx).
  • All C functions names were renamed to not contain the starting underscore (e.g. fopen and not _fopen). The underscored aliases will be added later with the c_alias library (which will be generated automatically from all public symbols of libc; any exported symbol that do not start with an underscore will be given an underscored alias unless such a symbol is already defined).

Also a lot of updates to the building system. It is now much faster (thanks
to Knut's suggestion of using ash's builtin echo).
Also re-wrote thunk1.asm and thunk2.asm to GAS format; this removes the need
for MASM and makes it possible to use 16-bit functions in a.out programs
without the need for EMX.DLL.
Also made a lot of small changes I don't remember now.

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 783 bytes
Line 
1/* This file redefines all regex external names before including
2 a renamed copy of glibc's regex.h. */
3
4#ifndef _XREGEX_H
5#define _XREGEX_H 1
6
7# define regfree xregfree
8# define regexec xregexec
9# define regcomp xregcomp
10# define regerror xregerror
11# define re_set_registers xre_set_registers
12# define re_match_2 xre_match_2
13# define re_match xre_match
14# define re_search xre_search
15# define re_compile_pattern xre_compile_pattern
16# define re_set_syntax xre_set_syntax
17# define re_search_2 xre_search_2
18# define re_compile_fastmap xre_compile_fastmap
19# define re_syntax_options xre_syntax_options
20# define re_max_failures xre_max_failures
21
22# define _REGEX_RE_COMP
23# define re_comp xre_comp
24# define re_exec xre_exec
25
26#include "xregex2.h"
27
28#endif /* xregex.h */
Note: See TracBrowser for help on using the repository browser.