targets/Win32/plc_Win32_main.c
changeset 1903 084256be3658
parent 1573 6dbc61e3dd65
child 2174 55611282b909
equal deleted inserted replaced
1902:2b7e2db31d81 1903:084256be3658
   239 void LockPython(void)
   239 void LockPython(void)
   240 {
   240 {
   241 	WaitForSingleObject(python_sem, INFINITE);
   241 	WaitForSingleObject(python_sem, INFINITE);
   242 }
   242 }
   243 
   243 
       
   244 #ifndef HAVE_RETAIN
   244 void InitRetain(void)
   245 void InitRetain(void)
   245 {
   246 {
   246 }
   247 }
   247 
   248 
   248 void CleanupRetain(void)
   249 void CleanupRetain(void)
   273 }
   274 }
   274 
   275 
   275 void Remind(unsigned int offset, unsigned int count, void *p)
   276 void Remind(unsigned int offset, unsigned int count, void *p)
   276 {
   277 {
   277 }
   278 }
       
   279 #endif // !HAVE_RETAIN
   278 
   280 
   279 static void __attribute__((constructor))
   281 static void __attribute__((constructor))
   280 beremiz_dll_init(void)
   282 beremiz_dll_init(void)
   281 {
   283 {
   282     InitializeCriticalSection(&Atomic64CS);
   284     InitializeCriticalSection(&Atomic64CS);