changeset 5 | 10e98eab6f85 |
parent 0 | dd21522fd290 |
1:7c90e6132015 | 5:10e98eab6f85 |
---|---|
52 |
52 |
53 xmlGlobalStatePtr xeGetTLS() |
53 xmlGlobalStatePtr xeGetTLS() |
54 { |
54 { |
55 return STATIC_CAST(xmlGlobalStatePtr, Dll::Tls()); |
55 return STATIC_CAST(xmlGlobalStatePtr, Dll::Tls()); |
56 } |
56 } |
57 |
|
58 void xecleanTLS() |
|
59 { |
|
60 xmlGlobalStatePtr gs = xeGetTLS(); |
|
61 delete gs; |
|
62 xeSetTLS(NULL); |
|
63 } |