ObjFW  Check-in [a756d3f511]

Overview
Comment:Remove useless definitions.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: a756d3f5115c2c9072222a7690fa0ccb0317ad0be76d990785534b387a3e11da
User & Date: js on 2009-04-19 20:22:29
Other Links: manifest | tags
Context
2009-04-19
20:29
Remove stuff forgotten after moving code in OFPlugin. check-in: 066bf9c8c3 user: js tags: trunk
20:22
Remove useless definitions. check-in: a756d3f511 user: js tags: trunk
20:19
Actually, it makes sense that - release returns self.
This way, you can check if the object has been free'd, for example
using if ((obj = [obj release]) == nil).
check-in: 348b389736 user: js tags: trunk
Changes

Modified src/OFFile.h from [938ce6b8f3] to [35d6e43251].

102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
 * \param path The path to the file to open as a C string
 * \param mode The mode in which the file should be opened as a C string
 * \return An initialized OFFile
 */
- initWithPath: (const char*)path
       andMode: (const char*)mode;

- free;

/**
 * \return A boolean whether the end of the file has been reached
 */
- (BOOL)atEndOfFile;

/**
 * Reads from the file into a buffer.







<
<







102
103
104
105
106
107
108


109
110
111
112
113
114
115
 * \param path The path to the file to open as a C string
 * \param mode The mode in which the file should be opened as a C string
 * \return An initialized OFFile
 */
- initWithPath: (const char*)path
       andMode: (const char*)mode;



/**
 * \return A boolean whether the end of the file has been reached
 */
- (BOOL)atEndOfFile;

/**
 * Reads from the file into a buffer.

Modified src/OFTCPSocket.h from [bd7229eefe] to [a8e391accf].

56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
/**
 * Initializes an already allocated OFTCPSocket.
 *
 * \return An initialized OFTCPSocket
 */
- init;

- free;

/**
 * Connect the OFTCPSocket to the specified destination.
 *
 * \param host The host or IP to connect to
 * \param port The port of the host to connect to
 */
- connectTo: (const char*)host







<
<







56
57
58
59
60
61
62


63
64
65
66
67
68
69
/**
 * Initializes an already allocated OFTCPSocket.
 *
 * \return An initialized OFTCPSocket
 */
- init;



/**
 * Connect the OFTCPSocket to the specified destination.
 *
 * \param host The host or IP to connect to
 * \param port The port of the host to connect to
 */
- connectTo: (const char*)host