tools/jprof/strset.h
author Vaibhav Agrawal <vaibhavmagarwal@gmail.com>
Mon, 23 Jun 2014 11:24:00 +0200
changeset 190407 9dea6aefe2f7ca2cb424d62eb2e5c1fc1e57a70d
parent 94475 f4157e8c410708d76703f19e4dfb61859bfe32d8
child 489668 cbb8fdf1daf98a15f7d57f6b08d273bdf96aa1a0
permissions -rw-r--r--
Bug 925699 - pymake/mach mochitest-plain don't delete the temporary profile. r=jmaher

/* 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 http://mozilla.org/MPL/2.0/. */

#ifndef __strset_h_
#define __strset_h_

struct StrSet {
  StrSet();

  void add(const char* string);
  int contains(const char* string);
  bool IsEmpty() const { return 0 == numstrings; }

  char** strings;
  int numstrings;
};

#endif /* __strset_h_ */