tools/jprof/strset.h
author Kartikaya Gupta <kgupta@mozilla.com>
Sat, 24 Sep 2016 09:46:01 -0400
changeset 315214 3437f7cc1db20cee2193a43c2f21c4ec633e7753
parent 94475 f4157e8c410708d76703f19e4dfb61859bfe32d8
permissions -rw-r--r--
Bug 1298886 - Convert the PinchGestureInput span fields from float to ParentLayerCoord. r=botond MozReview-Commit-ID: 1Odp9ml6reK

/* 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_ */