Move jerry_port functions into jerry-core.
JerryScript-DCO-1.0-Signed-off-by: Roland Takacs rtakacs.u-szeged@partner.samsung.com
This commit is contained in:
committed by
László Langó
parent
0e88e819eb
commit
6608cc4b7d
@@ -1,4 +1,4 @@
|
|||||||
/* Copyright 2014-2015 Samsung Electronics Co., Ltd.
|
/* Copyright 2014-2016 Samsung Electronics Co., Ltd.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
@@ -13,8 +13,8 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef MAIN_H
|
#include "jerry-port.h"
|
||||||
#define MAIN_H
|
#include <stdarg.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provide log message to filestream implementation for the engine.
|
* Provide log message to filestream implementation for the engine.
|
||||||
@@ -45,7 +45,6 @@ int jerry_port_errormsg (const char *format, /**< format string */
|
|||||||
return count;
|
return count;
|
||||||
} /* jerry_port_errormsg */
|
} /* jerry_port_errormsg */
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provide output character to console implementation for the engine.
|
* Provide output character to console implementation for the engine.
|
||||||
*/
|
*/
|
||||||
@@ -53,5 +52,3 @@ int jerry_port_putchar (int c) /**< character to put */
|
|||||||
{
|
{
|
||||||
return putchar (c);
|
return putchar (c);
|
||||||
} /* jerry_port_putchar */
|
} /* jerry_port_putchar */
|
||||||
|
|
||||||
#endif /* !MAIN_H */
|
|
||||||
@@ -14,7 +14,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "jerry.h"
|
#include "jerry.h"
|
||||||
#include "main.h"
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Standalone Jerry exit codes
|
* Standalone Jerry exit codes
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
|
|
||||||
#include "jerry.h"
|
#include "jerry.h"
|
||||||
#include "jrt/jrt.h"
|
#include "jrt/jrt.h"
|
||||||
#include "main.h"
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Maximum command line arguments number
|
* Maximum command line arguments number
|
||||||
|
|||||||
Reference in New Issue
Block a user