Mercurial > dwindows
comparison win/dw.c @ 1170:4b94c9f5ddeb
Missing return on Windows... surprised this compiled.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sat, 17 Sep 2011 09:20:31 +0000 |
parents | 924c8087a755 |
children | 76262040ed5f |
comparison
equal
deleted
inserted
replaced
1169:8be8607301c8 | 1170:4b94c9f5ddeb |
---|---|
9341 * an open or create call. | 9341 * an open or create call. |
9342 */ | 9342 */ |
9343 int API dw_named_event_post(HEV eve) | 9343 int API dw_named_event_post(HEV eve) |
9344 { | 9344 { |
9345 if(SetEvent(eve)) | 9345 if(SetEvent(eve)) |
9346 DW_ERROR_NONE; | 9346 return DW_ERROR_NONE; |
9347 return DW_ERROR_GENERAL; | 9347 return DW_ERROR_GENERAL; |
9348 } | 9348 } |
9349 | 9349 |
9350 /* Waits on the specified semaphore until it becomes | 9350 /* Waits on the specified semaphore until it becomes |
9351 * posted, or returns immediately if it already is posted. | 9351 * posted, or returns immediately if it already is posted. |