Hello,
I read your nice manual "How to use the Error module", now I wonder If I understand correctly:
For example, Semaphore_create gets an error block as parameter. So I think that Semaphore_create will call Error_raise itself and the following code is surplus:
g_NotifySemaphore = Semaphore_create (0, &semParams, &eb) ;
if( Error_check( &eb ) ) // all this is not necessary, true?
{
Error_raise( &eb, Error_E_generic, "Failed to Create the semaphore.",NULL);
}
Or does Semaphore_create only fill the error block with information and I still have to check it?
Can I generally assume that any bios function that gets an error block as parameter behaves like this?
Thank you,
Markus