Skip to content

Commit

Permalink
Fix visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
romainthomas committed Oct 26, 2024
1 parent 42207c9 commit 7908c18
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions include/LIEF/DyldSharedCache/caching.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
#ifndef LIEF_DSC_CACHING_H
#define LIEF_DSC_CACHING_H
#include <string>
#include "LIEF/visibility.h"

namespace LIEF {
namespace dsc {

Expand All @@ -42,11 +44,11 @@ namespace dsc {
///
///
/// \see LIEF::dsc::DyldSharedCache::enable_caching for a finer granularity
bool enable_cache();
LIEF_API bool enable_cache();

/// Same behavior as enable_cache() but with a
/// user-provided cache directory
bool enable_cache(const std::string& dir);
LIEF_API bool enable_cache(const std::string& dir);
}
}
#endif
Expand Down
1 change: 1 addition & 0 deletions src/dyld-shared-cache/dyldsc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include "LIEF/DyldSharedCache/Dylib.hpp"
#include "LIEF/DyldSharedCache/MappingInfo.hpp"
#include "LIEF/DyldSharedCache/SubCache.hpp"
#include "LIEF/DyldSharedCache/caching.hpp"

#include "LIEF/MachO/Binary.hpp"

Expand Down

0 comments on commit 7908c18

Please sign in to comment.