From ba8e3cf1e406a17fd3124004a87165b24c137903 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Mon, 5 Jul 2004 12:50:22 +0000 Subject: [PATCH] Now exports B_EMPTY_STRING - maybe there is a better place for it, like SupportDefs.cpp. Feel free to move it to a better place. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8302 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/support/String.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/kits/support/String.cpp b/src/kits/support/String.cpp index d39d2a38ae..1cda0ffc9c 100644 --- a/src/kits/support/String.cpp +++ b/src/kits/support/String.cpp @@ -49,6 +49,9 @@ #define REPLACE_ALL 0x7FFFFFFF +const char *B_EMPTY_STRING = ""; + + // helper function, returns minimum of two given values (but clamps to 0): static inline int32 min_clamp0(int32 num1, int32 num2)