Actual source code: mprint.h

      1: #pragma once

      3: #include <petscsys.h>
      4: #include <petsc/private/petscimpl.h>

      6: /* ----------------------------------------------------------------------- */
      7: typedef struct _PrintfQueue *PrintfQueue;
      8: struct _PrintfQueue {
      9:   char       *string;
     10:   size_t      size;
     11:   PrintfQueue next;
     12: };

     14: PETSC_INTERN PrintfQueue petsc_printfqueue;
     15: PETSC_INTERN PrintfQueue petsc_printfqueuebase;
     16: PETSC_INTERN int         petsc_printfqueuelength;