Changeset 27689 in webkit for trunk/JavaScriptCore/pcre/pcre_internal.h
- Timestamp:
- Nov 11, 2007, 11:24:37 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/pcre/pcre_internal.h
r27686 r27689 44 44 #ifndef PCRE_INTERNAL_H 45 45 #define PCRE_INTERNAL_H 46 47 #ifndef DFTABLES 46 48 47 49 #include "Assertions.h" … … 538 540 } compile_data; 539 541 542 /* Layout of the UCP type table that translates property names into types and 543 codes. */ 544 545 typedef struct { 546 const char *name; 547 pcre_uint16 type; 548 pcre_uint16 value; 549 } ucp_type_table; 550 551 552 /* Internal shared data tables. These are tables that are used by more than one 553 of the exported public functions. They have to be "external" in the C sense, 554 but are not part of the PCRE public API. The data for these tables is in the 555 pcre_tables.c module. */ 556 557 extern const int _pcre_utf8_table1[]; 558 extern const int _pcre_utf8_table2[]; 559 extern const int _pcre_utf8_table3[]; 560 extern const uschar _pcre_utf8_table4[]; 561 562 extern const int _pcre_utf8_table1_size; 563 564 extern const uschar _pcre_default_tables[]; 565 566 567 /* Internal shared functions. These are functions that are used by more than 568 one of the exported public functions. They have to be "external" in the C 569 sense, but are not part of the PCRE public API. */ 570 571 extern int _pcre_ord2utf8(int, uschar *); 572 extern int _pcre_ucp_othercase(const int); 573 extern BOOL _pcre_xclass(int, const uschar *); 574 575 #define IS_NEWLINE(nl) ((nl) == 0xA || (nl) == 0xD || (nl) == 0x2028 || (nl) == 0x2029) 576 577 #endif 578 540 579 /* Bit definitions for entries in the pcre_ctypes table. */ 541 580 … … 561 600 #define tables_length (ctypes_offset + 128) 562 601 563 /* Layout of the UCP type table that translates property names into types and564 codes. */565 566 typedef struct {567 const char *name;568 pcre_uint16 type;569 pcre_uint16 value;570 } ucp_type_table;571 572 573 /* Internal shared data tables. These are tables that are used by more than one574 of the exported public functions. They have to be "external" in the C sense,575 but are not part of the PCRE public API. The data for these tables is in the576 pcre_tables.c module. */577 578 extern const int _pcre_utf8_table1[];579 extern const int _pcre_utf8_table2[];580 extern const int _pcre_utf8_table3[];581 extern const uschar _pcre_utf8_table4[];582 583 extern const int _pcre_utf8_table1_size;584 585 extern const uschar _pcre_default_tables[];586 587 588 /* Internal shared functions. These are functions that are used by more than589 one of the exported public functions. They have to be "external" in the C590 sense, but are not part of the PCRE public API. */591 592 extern int _pcre_ord2utf8(int, uschar *);593 extern int _pcre_ucp_othercase(const int);594 extern BOOL _pcre_xclass(int, const uschar *);595 596 #define IS_NEWLINE(nl) ((nl) == 0xA || (nl) == 0xD || (nl) == 0x2028 || (nl) == 0x2029)597 598 602 #endif 599 603
Note:
See TracChangeset
for help on using the changeset viewer.