Mercurial > dwindows
comparison template/dw.c @ 987:297f2e790e57
Added a DW_RESOURCE() macro for typecasting parameters to HICN and for doing bounds checking.
Fixed a typo in the template file while I was fixing comments.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sat, 07 May 2011 06:06:19 +0000 |
parents | 87dc0f5f96d0 |
children | 56077b50be7e |
comparison
equal
deleted
inserted
replaced
986:87dc0f5f96d0 | 987:297f2e790e57 |
---|---|
3168 * DW_ERROR_TIMEOUT (2) if the timeout has expired. | 3168 * DW_ERROR_TIMEOUT (2) if the timeout has expired. |
3169 * Other values on other error. | 3169 * Other values on other error. |
3170 */ | 3170 */ |
3171 int dw_event_wait(HEV eve, unsigned long timeout) | 3171 int dw_event_wait(HEV eve, unsigned long timeout) |
3172 { | 3172 { |
3173 return DW_ERROR_GENERAL | 3173 return DW_ERROR_GENERAL; |
3174 } | 3174 } |
3175 | 3175 |
3176 /* | 3176 /* |
3177 * Closes a semaphore created by dw_event_new(). | 3177 * Closes a semaphore created by dw_event_new(). |
3178 * Parameters: | 3178 * Parameters: |