Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.8, 0.8.1, and 0.8.2

shellext: remove unused GET_SAFE, SET_SAFE from TortoiseUtils.h

Changeset 9cc075ad1380

Parent a5470ed89cf9

by Adrian Buehlmann

Changes to one file · Browse files at 9cc075ad1380 Showing diff from parent a5470ed89cf9 Diff from another changeset...

 
10
11
12
13
14
15
16
17
18
19
 
10
11
12
 
 
 
 
13
14
15
@@ -10,10 +10,6 @@
  (p) = (p); \   }   -extern CRITICAL_SECTION g_critSectionBreak; -template <class T> T GET_SAFE( T a ) {EnterCriticalSection(&g_critSectionBreak); T z = a; LeaveCriticalSection(&g_critSectionBreak); return z;} -template <class T> void SET_SAFE( T & a , T b) {EnterCriticalSection(&g_critSectionBreak); a = b; LeaveCriticalSection(&g_critSectionBreak);} -  #ifndef ARRAYSIZE  #define ARRAYSIZE(a) (sizeof(a)/sizeof(a[0]))  #endif