Skip to content
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ add_library(BlocksRuntime

if(WIN32)
target_sources(BlocksRuntime PRIVATE
BlocksRuntime.def)
src/BlocksRuntime/BlocksRuntime.def)

if(NOT BUILD_SHARED_LIBS)
target_compile_definitions(BlocksRuntime PUBLIC BlocksRuntime_STATIC)
Expand Down
5 changes: 0 additions & 5 deletions src/BlocksRuntime/Block.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,8 @@ BLOCK_EXPORT void _Block_object_assign(void *, const void *, const int);
BLOCK_EXPORT void _Block_object_dispose(const void *, const int);

// Used by the compiler. Do not use these variables yourself.
#if defined(_WIN32)
extern void * _NSConcreteGlobalBlock[32];
extern void * _NSConcreteStackBlock[32];
#else
BLOCK_EXPORT void * _NSConcreteGlobalBlock[32];
BLOCK_EXPORT void * _NSConcreteStackBlock[32];
#endif

#if __cplusplus
}
Expand Down
4 changes: 4 additions & 0 deletions src/BlocksRuntime/BlocksRuntime.def
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@ LIBRARY BlocksRuntime
EXPORTS
_NSConcreteGlobalBlock CONSTANT
_NSConcreteStackBlock CONSTANT
_NSConcreteMallocBlock CONSTANT
_NSConcreteAutoBlock CONSTANT
_NSConcreteFinalizingBlock CONSTANT
_NSConcreteWeakBlockVariable CONSTANT
43 changes: 0 additions & 43 deletions src/BlocksRuntime/CMakeLists.txt

This file was deleted.