author Till Schneidereit <>
Thu, 06 Sep 2012 17:43:22 +0200
changeset 108068 2f83e74b38ff702f57ce22df899f531c9b252ec0
parent 96742 f4157e8c410708d76703f19e4dfb61859bfe32d8
child 136112 931e85b3d576d5971e7c02896dade6ce9a57fc44
permissions -rw-r--r--
Bug 786743 - Disable JS minification for debug builds.

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at */

#ifndef INTCNT_H
#define INTCNT_H

class IntCount
    void clear();
    int countAdd(int index, int increment=1);
    int countGet(int index);
    int getSize();
    int getCount(int pos);
    int getIndex(int pos);

    IntCount(const IntCount&); // No copy constructor

    int    numInts;
    struct IntPair{int idx; int cnt;} *iPair;