|
@@ -566,11 +566,7 @@ HL_API int hl_hash_utf8( const char *str ); // no cache
|
|
HL_API int hl_hash_gen( const uchar *name, bool cache_name );
|
|
HL_API int hl_hash_gen( const uchar *name, bool cache_name );
|
|
HL_API const uchar *hl_field_name( int hash );
|
|
HL_API const uchar *hl_field_name( int hash );
|
|
|
|
|
|
-#ifdef HL_VCC
|
|
|
|
-# define hl_error(msg, ...) hl_throw(hl_alloc_strbytes(USTR(msg), __VA_ARGS__))
|
|
|
|
-#else
|
|
|
|
-# define hl_error(msg, ...) hl_throw(hl_alloc_strbytes(USTR(msg), #__VA_ARGS__))
|
|
|
|
-#endif
|
|
|
|
|
|
+#define hl_error(msg, ...) hl_throw(hl_alloc_strbytes(USTR(msg), ## __VA_ARGS__))
|
|
|
|
|
|
HL_API vdynamic *hl_alloc_strbytes( const uchar *msg, ... );
|
|
HL_API vdynamic *hl_alloc_strbytes( const uchar *msg, ... );
|
|
HL_API void hl_assert( void );
|
|
HL_API void hl_assert( void );
|