update porting to new machine
[wikipedia-parser-hphp.git] / parser / MyHacks.h
blobf71c0c43919228038eac6469dd04ed18881dfd08
1 /*
2 ** MyHacks.h
3 **
4 ** Made by Michael DuPont
5 ** Login <mdupont@mdupontdesktop2>
6 **
7 ** Started on Sat Mar 14 17:38:01 2009 Michael DuPont
8 ** Last update Sat Mar 14 17:38:01 2009 Michael DuPont
9 */
11 #ifndef MYHACKS_H_
12 # define MYHACKS_H_
14 #include "php.h"
17 extern void * s;// ups
18 extern void * TODOVariableFunction;
19 extern void * TODO_fci;
20 extern void * local_htmlelements;
21 extern void * local_htmllist;
22 extern void * local_htmlnest;
23 extern void * local_htmlpairs;
24 extern void * local_htmlsingle;
25 extern void * local_htmlsingleallowed;
26 extern void * local_htmlsingleonly;
27 extern void * local_listtags;
28 extern void * local_recursionGuard;
29 extern void * local_staticInitialised;
30 extern void * local_tabletags;
31 extern void * local_wikiLowerChars;
32 extern void * local_wikiUpperChars;
33 extern void * my_local_TLE25724;
34 extern void * my_local_TSt25723;
35 extern void * my_local_TSt26239;
36 extern void * my_local_TSt26261;
37 extern void * my_local_TSt26267;
38 extern void * my_local_args;
39 extern void * my_local_article;
40 extern void * my_local_change;
41 extern void * my_local_contextNode;
42 extern void * my_local_data;
43 extern void * my_local_database;
44 extern void * my_local_db;
45 extern void * my_local_domdocument;
46 extern void * my_local_domnode;
47 extern void * my_local_domnodelist;
48 extern void * my_local_e;
49 extern void * my_local_faketitle;
50 extern void * my_local_frame;
51 extern void * my_local_iteratorNode;
52 extern void * my_local_langcode;
53 extern void * my_local_language;
54 extern void * my_local_mwexception;
55 extern void * my_local_newIterator;
56 extern void * my_local_newtitle;
57 extern void * my_local_obj;
58 extern void * my_local_ppframe;
59 extern void * my_local_ppnode;
60 extern void * my_local_ppnode_dom;
61 extern void * my_local_recentchange;
62 extern void * my_local_res;
63 extern void * my_local_resultwrapper;
64 extern void * my_local_root;
65 extern void * my_local_stubobject;
66 extern void * my_local_subpages;
67 extern void * my_local_t;
68 extern void * my_local_titlearray;
69 extern void * my_local_wgArticle;
70 extern void * name;
72 // hack these values
73 extern void * my_local_title;
74 extern void * my_local_nt;
75 extern void * my_local_target;
78 //zval* local_TLE2375
79 void MyThrowImp();
85 #define MyThrow(X) MyThrowImp( local_ ## X );
92 #define BEGINMyTry
93 #define EndMyTry
94 #define RefCast
97 #define String(X) MyStringImp( my_local_ ## X )
100 //MyStatic(privateRanges);
102 #define MyStatic(X) MyStaticImp( local_ ## X );
109 zvalP getThis();
111 #define TSRMLS_D
112 #define TSRMLS_C
114 #include "phcstd.h"
116 #endif /* !MYHACKS_H_ */