ObjFW  Check-in [eaea08f31d]

Overview
Comment:OFPlugin: Document how to create a plugin
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: eaea08f31d71edc39b4394f7cd605b8c7aca82cc747cfc3c9a60e24a46dcb5dd
User & Date: js on 2021-04-30 21:11:24
Other Links: manifest | tags
Context
2021-04-30
21:15
OFTCPSocketSOCKS5Connector: Move state enum to .m check-in: f7abfde081 user: js tags: trunk
21:11
OFPlugin: Document how to create a plugin check-in: eaea08f31d user: js tags: trunk
21:09
OFXMLParser: Make state enum private check-in: 3e5e97315c user: js tags: trunk
Changes

Modified src/OFPlugin.h from [c9f7beee37] to [53f335d6bf].

37
38
39
40
41
42
43




44
45
46
47
48
49
50

OF_ASSUME_NONNULL_BEGIN

/**
 * @class OFPlugin OFPlugin.h ObjFW/OFPlugin.h
 *
 * @brief Provides a system for loading plugins at runtime.




 */
@interface OFPlugin: OFObject
{
	OFPluginHandle _pluginHandle;
	OF_RESERVE_IVARS(OFPlugin, 4)
}








>
>
>
>







37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54

OF_ASSUME_NONNULL_BEGIN

/**
 * @class OFPlugin OFPlugin.h ObjFW/OFPlugin.h
 *
 * @brief Provides a system for loading plugins at runtime.
 *
 * A plugin must subclass @ref OFPlugin and have a global function called
 * `OFPluginInit`, which returns an instance of the @ref OFPlugin subclass and
 * takes no parameters.
 */
@interface OFPlugin: OFObject
{
	OFPluginHandle _pluginHandle;
	OF_RESERVE_IVARS(OFPlugin, 4)
}