debugbase.cxx (87d2adbc) debugbase.cxx (82c0ddf2)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 17 unchanged lines hidden (view full) ---

26
27#include "rtl/strbuf.hxx"
28#include "rtl/string.hxx"
29#include "rtl/ustring.hxx"
30#include "osl/process.h"
31#include "osl/diagnose.hxx"
32#include "boost/bind.hpp"
33#include <vector>
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 17 unchanged lines hidden (view full) ---

26
27#include "rtl/strbuf.hxx"
28#include "rtl/string.hxx"
29#include "rtl/ustring.hxx"
30#include "osl/process.h"
31#include "osl/diagnose.hxx"
32#include "boost/bind.hpp"
33#include <vector>
34#include <algorithm>
34
35// define own ones, independent of OSL_DEBUG_LEVEL:
36#define DEBUGBASE_ENSURE_(c, f, l, m) \
37 do \
38 { \
39 if (!(c) && _OSL_GLOBAL osl_assertFailedLine(f, l, m)) \
40 _OSL_GLOBAL osl_breakDebug(); \
41 } while (0)

--- 116 unchanged lines hidden ---
35
36// define own ones, independent of OSL_DEBUG_LEVEL:
37#define DEBUGBASE_ENSURE_(c, f, l, m) \
38 do \
39 { \
40 if (!(c) && _OSL_GLOBAL osl_assertFailedLine(f, l, m)) \
41 _OSL_GLOBAL osl_breakDebug(); \
42 } while (0)

--- 116 unchanged lines hidden ---