toolkit/crashreporter/mac_utils.h
author Ehsan Akhgari <ehsan@mozilla.com>
Mon, 23 Sep 2013 13:25:00 -0400
changeset 148356 c53e80370c9a34dbee691a34b251e8b1fcd078dd
parent 94475 f4157e8c410708d76703f19e4dfb61859bfe32d8
permissions -rw-r--r--
Bug 918923 - Part 2: Switch to #including nsString.h in code using the internal strings API; r=bsmedberg

/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* 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 toolkit_breakpad_mac_utils_h__
#define toolkit_breakpad_mac_utils_h__

#include "nsString.h"

// Given an Objective-C NSException object, put exception info into a string.
void GetObjCExceptionInfo(void* inException, nsACString& outString);

#endif /* toolkit_breakpad_mac_utils_h__ */