-#ifndef __DALI_V8PLUGIN_V8_UTILS_H__
-#define __DALI_V8PLUGIN_V8_UTILS_H__
+#ifndef DALI_V8PLUGIN_V8_UTILS_H
+#define DALI_V8PLUGIN_V8_UTILS_H
/*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2019 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
};
#define DALI_SCRIPT_EXCEPTION( isolate, message ) V8Utils::ScriptError( __FUNCTION__ , isolate, message );
+#define DALI_SCRIPT_WARNING( message ) V8Utils::ScriptWarning( __FUNCTION__ , message );
namespace V8Utils
{
void ScriptError( const char* function, v8::Isolate* isolate, std::string errorString );
/**
+ * Script warning
+ */
+void ScriptWarning( const char* function, std::string warningString );
+
+/**
* @return in the value is a boolean primitive or a boolean object
*/
bool IsBooleanPrimitiveOrObject( const v8::Local<v8::Value>& value );
} // namespace Dali
-#endif // __DALI_V8PLUGIN_V8_UTILS_H__
+#endif // DALI_V8PLUGIN_V8_UTILS_H