$$ACTION Spew Turn OFF spew from [e:SpewHandle] aTurnOffSpew Turn off spew Turns off spew that was created with Turn On Spew. Pass in the handle given by Turn On Spew. Parameters: SpewHandle: the handle of the spewer to stop $$END */
| 2294 | $$END |
| 2295 | */ |
| 2296 | void aTurnOffSpew(int handle_slot) { |
| 2297 | msafe_struct mstruct; |
| 2298 | |
| 2299 | if ((handle_slot >= 0) && (handle_slot < MAX_SPEW_HANDLES)) { |
| 2300 | |
| 2301 | mstruct.id = Spew_handles[handle_slot]; |
| 2302 | |
| 2303 | if (mstruct.id != SPEW_INVALID_HANDLE) { |
| 2304 | MSafe_CallFunction(MSAFE_OBJECT_STOP_SPEW, &mstruct); |
| 2305 | Spew_handles[handle_slot] = SPEW_INVALID_HANDLE; |
| 2306 | } |
| 2307 | } |
| 2308 | } |
| 2309 | |
| 2310 | /* |
| 2311 | $$ACTION |
no outgoing calls
no test coverage detected