From f7f1e961eaba4f62de01f1539cb058a8f30c4721 Mon Sep 17 00:00:00 2001 From: vansangpfiev Date: Tue, 21 May 2024 09:25:11 +0700 Subject: [PATCH] refactor: file names --- CMakeLists.txt | 2 +- src/{python_runtime_engine.cc => python_engine.cc} | 4 ++-- src/{python_runtime_engine.h => python_engine.h} | 0 src/{python_runtime_utils.h => python_utils.h} | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename src/{python_runtime_engine.cc => python_engine.cc} (98%) rename src/{python_runtime_engine.h => python_engine.h} (100%) rename src/{python_runtime_utils.h => python_utils.h} (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2f17c4b..3a9108f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -34,7 +34,7 @@ else() endif() # This is the critical line for installing another package -add_library(${TARGET} SHARED src/python_runtime_engine.cc) +add_library(${TARGET} SHARED src/python_engine.cc) if(UNIX AND NOT APPLE) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC") diff --git a/src/python_runtime_engine.cc b/src/python_engine.cc similarity index 98% rename from src/python_runtime_engine.cc rename to src/python_engine.cc index 5a9754e..5bd9d53 100644 --- a/src/python_runtime_engine.cc +++ b/src/python_engine.cc @@ -1,5 +1,5 @@ -#include "python_runtime_engine.h" -#include "python_runtime_utils.h" +#include "python_engine.h" +#include "python_utils.h" #include "trantor/utils/Logger.h" #if defined(_WIN32) diff --git a/src/python_runtime_engine.h b/src/python_engine.h similarity index 100% rename from src/python_runtime_engine.h rename to src/python_engine.h diff --git a/src/python_runtime_utils.h b/src/python_utils.h similarity index 100% rename from src/python_runtime_utils.h rename to src/python_utils.h