delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/21/22:15:27

From: Ben Pfaff <pfaffben AT pilot DOT msu DOT edu>
Newsgroups: comp.lang.c,comp.os.msdos.djgpp
Subject: Re: Casting void pointers
Date: 21 Jun 1998 22:11:10 -0400
Organization: Michigan State University
Lines: 5
Sender: blp AT smaug
Message-ID: <87ogvmnq2p.fsf@dial1.msu.edu>
References: <6mkaos$k7o AT dfw-ixnews6 DOT ix DOT netcom DOT com>
Reply-To: pfaffben AT pilot DOT msu DOT edu
NNTP-Posting-Host: pm386-12.dialip.mich.net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

   How do you explicity cast a void pointer to a function pointer? Or do you
   even need to cast void pointers manually?

You don't need to cast void * pointers manually.  It's not strictly
conforming to store a function pointer in a void *, BTW.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019