From cfa9eb3f15b10a8ff93803183fc413c3e34a9244 Mon Sep 17 00:00:00 2001 From: JustinAJ Date: Fri, 6 Jun 2014 22:14:11 -0400 Subject: [PATCH] Added STRING_LITERAL_AS_NAMED_REFERENCE macro. --- Jupiter/Reference_String.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Jupiter/Reference_String.h b/Jupiter/Reference_String.h index 8061ef9..8a18f2d 100644 --- a/Jupiter/Reference_String.h +++ b/Jupiter/Reference_String.h @@ -244,6 +244,7 @@ namespace Jupiter } #define STRING_LITERAL_AS_REFERENCE(str) Jupiter::ReferenceString(str, sizeof(str) - 1) +#define STRING_LITERAL_AS_NAMED_REFERENCE(name, str) Jupiter::ReferenceString name = Jupiter::ReferenceString(str, sizeof(str) - 1) #include "Reference_String_Imp.h"