Optional Two-phase heap tracing
[hiphop-php.git] / hphp / util / text-art.h
blob3b15a9a4d9836be4c291b44f90e6f845d990943c
1 /*
2 +----------------------------------------------------------------------+
3 | HipHop for PHP |
4 +----------------------------------------------------------------------+
5 | Copyright (c) 2010-present Facebook, Inc. (http://www.facebook.com) |
6 +----------------------------------------------------------------------+
7 | This source file is subject to version 3.01 of the PHP license, |
8 | that is bundled with this package in the file LICENSE, and is |
9 | available through the world-wide-web at the following url: |
10 | http://www.php.net/license/3_01.txt |
11 | If you did not receive a copy of the PHP license and are unable to |
12 | obtain it through the world-wide-web, please send a note to |
13 | license@php.net so we can mail you a copy immediately. |
14 +----------------------------------------------------------------------+
17 #ifndef incl_HPHP_UTIL_TEXT_ART_H_
18 #define incl_HPHP_UTIL_TEXT_ART_H_
20 namespace HPHP { namespace TextArt {
21 ///////////////////////////////////////////////////////////////////////////////
22 // comment only change
23 #define BOX_H get_box_drawing_char(LightHorizontal)
24 #define BOX_V get_box_drawing_char(LightVertical)
25 #define BOX_UL get_box_drawing_char(LightDownAndRight)
26 #define BOX_UR get_box_drawing_char(LightDownAndLeft)
27 #define BOX_VL get_box_drawing_char(LightVerticalAndRight)
28 #define BOX_VR get_box_drawing_char(LightVerticalAndLeft)
29 #define BOX_LL get_box_drawing_char(LightUpAndRight)
30 #define BOX_LR get_box_drawing_char(LightUpAndLeft)
32 enum BoxDrawing {
33 LightDownAndRight,
34 LightHorizontal,
35 LightDownAndLeft,
36 LightVerticalAndRight,
37 LightVertical,
38 LightVerticalAndLeft,
39 LightUpAndRight,
40 LightUpAndLeft,
43 const char *get_box_drawing_char(BoxDrawing name);
45 extern bool s_use_utf8;
47 ///////////////////////////////////////////////////////////////////////////////
50 #endif // incl_HPHP_UTIL_TEXT_ART_H_