From 9da010ae6e7277fb4111f5987c524cd1d484be79 Mon Sep 17 00:00:00 2001 From: Akos Kiss Date: Mon, 4 Jun 2018 03:49:38 +0200 Subject: [PATCH] Remove legacy public headers (#2372) Recent changes to master have already introduced API-breaking changes. So, if someone is still including the legacy headers, following up on the header file name changes will be the least of their problems. JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu --- jerry-core/include/jerry-api.h | 23 ----------------------- jerry-core/include/jerry-port.h | 23 ----------------------- 2 files changed, 46 deletions(-) delete mode 100644 jerry-core/include/jerry-api.h delete mode 100644 jerry-core/include/jerry-port.h diff --git a/jerry-core/include/jerry-api.h b/jerry-core/include/jerry-api.h deleted file mode 100644 index 65b8335e2..000000000 --- a/jerry-core/include/jerry-api.h +++ /dev/null @@ -1,23 +0,0 @@ -/* Copyright JS Foundation and other contributors, http://js.foundation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef JERRY_API_H -#define JERRY_API_H - -#pragma message ("using jerry-api.h directly is deprecated, please use jerryscript.h") - -#include "jerryscript.h" - -#endif /* !JERRY_API_H */ diff --git a/jerry-core/include/jerry-port.h b/jerry-core/include/jerry-port.h deleted file mode 100644 index fe6bc37d3..000000000 --- a/jerry-core/include/jerry-port.h +++ /dev/null @@ -1,23 +0,0 @@ -/* Copyright JS Foundation and other contributors, http://js.foundation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef JERRY_PORT_H -#define JERRY_PORT_H - -#pragma message ("using jerry-port.h directly is deprecated, please use jerryscript-port.h") - -#include "jerryscript-port.h" - -#endif /* !JERRY_PORT_H */