geode/loader/include/Geode/loader/Tulip.hpp
ConfiG 3fec377e96
Improve actions build speed by using sccache, removes PCH (#493)
---------

Co-authored-by: mat <26722564+matcool@users.noreply.github.com>
2024-02-11 15:58:46 -03:00

21 lines
583 B
C++

#pragma once
#include <Geode/platform/platform.hpp>
#include <tulip/TulipHook.hpp>
namespace geode::hook {
/**
* Create a calling convention wrapper for a function.
*/
GEODE_DLL tulip::hook::Result<void*> createWrapper(
void* address,
tulip::hook::WrapperMetadata const& metadata
) noexcept;
/**
* Create an abstract calling convention handler for TulipHook
*/
GEODE_DLL std::shared_ptr<tulip::hook::CallingConvention> createConvention(
tulip::hook::TulipConvention convention
) noexcept;
}