@@ -57,11 +57,11 @@ * To use it, you should create a new class derived from it and reimplement * main. */ @interface OFThread: OFObject { - id object; + OFObject *object; of_thread_t thread; BOOL running; @public id retval; @@ -69,11 +69,11 @@ /** * \param obj An object that is passed to the main method as a copy or nil * \return A new autoreleased thread */ -+ threadWithObject: (id)obj; ++ threadWithObject: (OFObject *)obj; /** * Sets the Thread Local Storage for the specified key. * * The specified object is first retained and then the object stored before is @@ -81,11 +81,11 @@ * released and don't want any new object for the TLS key. * * \param key The Thread Local Storage key * \param obj The object the Thread Local Storage key will be set to */ -+ setObject: (id)obj ++ setObject: (OFObject*)obj forTLSKey: (OFTLSKey*)key; /** * Returns the object for the specified Thread Local Storage key. * @@ -95,11 +95,11 @@ /** * \param obj An object that is passed to the main method as a copy or nil * \return An initialized OFThread. */ -- initWithObject: (id)obj; +- initWithObject: (OFObject *)obj; /** * The main routine of the thread. You need to reimplement this! * * It can access the object passed to the threadWithObject or initWithObject