ObjFW  Diff

Differences From Artifact [9a203f8488]:

To Artifact [591fb14b83]:


17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#include "config.h"

#import "TestPlugin.h"

#ifdef OF_OBJFW_RUNTIME
# import "runtime-private.h"

static void __attribute__((destructor))
unload(void)
{
	objc_unregister_class(objc_getClass("TestPlugin"));
}
#endif

@implementation TestPlugin
- (int)test: (int)num







|
<







17
18
19
20
21
22
23
24

25
26
27
28
29
30
31
#include "config.h"

#import "TestPlugin.h"

#ifdef OF_OBJFW_RUNTIME
# import "runtime-private.h"

OF_DESTRUCTOR()

{
	objc_unregister_class(objc_getClass("TestPlugin"));
}
#endif

@implementation TestPlugin
- (int)test: (int)num