Logo Search packages:      
Sourcecode: csound version File versions  Download package

void PUBLIC csoundPopFirstMessage ( CSOUND *  csound  ) 

Removes the first message from the buffer.

Definition at line 3128 of file csound.c.

References csoundPopFirstMessage().

Referenced by csoundDestroyMessageBuffer(), and csoundPopFirstMessage().

      csMsgBuffer *pp = (csMsgBuffer*) csoundGetHostData(csound);

      if (pp) {
        csMsgStruct *tmp;
        tmp = pp->firstMsg;
        if (tmp) {
          pp->firstMsg = tmp->nxt;
          if (!pp->firstMsg)
            pp->lastMsg = (csMsgStruct*) 0;
        if (tmp)
          free((void*) tmp);

Generated by  Doxygen 1.6.0   Back to index