equal
deleted
inserted
replaced
225 void LockPython(void) |
225 void LockPython(void) |
226 { |
226 { |
227 WaitForSingleObject(python_sem, INFINITE); |
227 WaitForSingleObject(python_sem, INFINITE); |
228 } |
228 } |
229 |
229 |
|
230 int CheckRetainBuffer(void) |
|
231 { |
|
232 return 1; |
|
233 } |
|
234 |
230 void Retain(unsigned int offset, unsigned int count, void * p) |
235 void Retain(unsigned int offset, unsigned int count, void * p) |
231 { |
236 { |
232 unsigned int position; |
237 unsigned int position; |
233 for(position=0; position<count; position++ ){ |
238 for(position=0; position<count; position++ ){ |
234 printf("%d : 0x%2.2x\n", offset+position, ((char*)p)[position]); |
239 printf("%d : 0x%2.2x\n", offset+position, ((char*)p)[position]); |