delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/16/02:35:11

Date: Wed, 16 Jul 1997 18:32:07 +0000
From: Bill Currie <billc AT blackmagic DOT tait DOT co DOT nz>
Subject: Re: Array of Functions
To: Benjamin D Chambers <chambers DOT ben AT juno DOT com>
Cc: djgpp AT delorie DOT com
Reply-to: billc AT blackmagic DOT tait DOT co DOT nz
Message-id: <33CD13A7.4112@blackmagic.tait.co.nz>
Organization: Tait Electronics NZ
MIME-version: 1.0
References: <19970715 DOT 215516 DOT 5183 DOT 0 DOT chambers DOT ben AT juno DOT com>

Benjamin D Chambers wrote:
> and died on me.  Does anyone have thoughts about how to solve this?

Yup. For (eg) int foo(int):

int (*foo[])(int);
^ return type  ^ parameters

Untested (gcc currently busy) but this should be right.
-- 
Leave others their otherness.

- Raw text -


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