| 80 | return (void *) get_function_address(plugin, function); |
| 81 | } |
| 82 | bool ClosePlugin (DFLibrary * plugin) |
| 83 | { |
| 84 | int res = close_library(plugin); |
| 85 | if (res != 0) |
| 86 | { |
| 87 | auto error = get_error(); |
| 88 | WARN(plugins).print("ClosePlugin failed: {}\n", error); |
| 89 | } |
| 90 | return (res == 0); |
| 91 | |
| 92 | } |
| 93 | } |