🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #5203

Re: function returning pointer to itself

#5203
From: Jim Gardner
Date: Sun, 17 Jul 1988 17:20
15 lines
914 bytes
Organization: U. of Waterloo, Ontario
Keywords: 

smking@lion.waterloo.edu (Scott M. King) writes:
 >
 >Oh, don't worry, I don't feel too bad. My declaration *is* correct.
 >It declares a function returning a pointer to
 >			a function returning a generic pointer.
 >[...]
 >since you can quite easily convert any pointer to a void * and back without
 >loss of information.
 
In the January 88 draft, void * is not a completely generic pointer.
It is a generic object pointer, not a function pointer. See pages 23 and 38.
Your declaration is not strictly correct.
Technical Details
Message-ID: <19916@watmath.waterloo.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!jagardner

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!jagardner
From: jagardner@watmath.waterloo.edu (Jim Gardner)
Newsgroups: comp.std.c
Subject: Re: function returning pointer to itself
Message-ID: <19916@watmath.waterloo.edu>
Date: 17 Jul 88 17:20:30 GMT
Reply-To: jagardner@watmath.waterloo.edu
Organization: U of Waterloo, Ontario
Lines: 15