🦄 refactor(plugin manager source suffix): from .cpp to .c
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
add_library(plugin_manager plugin_manager.cpp)
|
||||
add_library(plugin_manager plugin_manager.c)
|
||||
target_include_directories(plugin_manager PUBLIC ${CMAKE_CURRENT_LIST_DIR})
|
||||
target_include_directories(plugin_manager PUBLIC ${CMAKE_SOURCE_DIR}/include/)
|
||||
target_include_directories(plugin_manager PUBLIC ${CMAKE_SOURCE_DIR}/infra/core)
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
#include "toml/toml.h"
|
||||
#include "uthash/utlist.h"
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "stellar_core.h"
|
||||
#include "tuple.h"
|
||||
#include "packet_private.h"
|
||||
@@ -12,7 +14,7 @@
|
||||
UT_icd plugin_specs_icd = {sizeof(struct plugin_specific), NULL, NULL, NULL};
|
||||
|
||||
// TODO: set scratch_sess to per_thread_data
|
||||
thread_local struct session *per_thread_scratch_sess;
|
||||
__thread struct session *per_thread_scratch_sess;
|
||||
|
||||
inline static void plugin_manager_scratch_session_set(struct session *sess)
|
||||
{
|
||||
Reference in New Issue
Block a user