Back to index

lightning-sunbird  0.9+nobinonly
Defines | Functions
nsMsgKeySet.cpp File Reference
#include "msgCore.h"
#include "prlog.h"
#include "MailNewsTypes.h"
#include "nsMsgKeySet.h"
#include "prprf.h"
#include "prmem.h"
#include "nsMsgKeyArray.h"

Go to the source code of this file.


#define EMIT(x, y)   out = msg_emit_range(out, x, y)


static PRInt32msg_emit_range (PRInt32 *tmp, PRInt32 a, PRInt32 b)

Define Documentation

#define EMIT (   x,
)    out = msg_emit_range(out, x, y)

Function Documentation

static PRInt32* msg_emit_range ( PRInt32 tmp,
PRInt32  a,
PRInt32  b 
) [static]

Definition at line 924 of file nsMsgKeySet.cpp.

       if (a == b) {
              *tmp++ = a;
       } else {
              NS_ASSERTION(a < b && a >= 0, "range is out of order");
              *tmp++ = -(b - a);
              *tmp++ = a;
       return tmp;