Differences From Artifact [a5b4d66f4b]:
- File
src/OFPlugin.m
— part of check-in
[4a2f61814f]
at
2014-05-15 15:32:42
on branch trunk
— Work around dlsym() API not being valid C
This only silences the compiler. Storing function pointers in void* is
illegal, yet POSIX requires it. (user: js, size: 2084) [annotate] [blame] [check-ins using]
To Artifact [72b6e8f4e8]:
- File
src/OFPlugin.m
— part of check-in
[13ee56edf3]
at
2014-06-21 21:43:43
on branch trunk
— Move all macros from OFObject.h to macros.h
This means that OFObject.h imports macros.h now, making it unnecessary
to manually import macros.h in almost every file. And while at it, also
import autorelease.h in OFObject.h, so that this doesn't need to be
manually imported in almost every file as well. (user: js, size: 2059) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
24 25 26 27 28 29 30 | #endif #import "OFPlugin.h" #import "OFString.h" #import "OFInitializationFailedException.h" | < < | 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | #endif #import "OFPlugin.h" #import "OFString.h" #import "OFInitializationFailedException.h" #ifdef _WIN32 # define dlsym(handle, symbol) GetProcAddress(handle, symbol) # define dlclose(handle) FreeLibrary(handle) #endif typedef OFPlugin* (*init_plugin_t)(void); |
︙ | ︙ |