delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/20/02:11:11

From: tanph AT bj DOT col DOT com DOT cn
Comments: Authenticated sender is <tanph AT mh DOT bj DOT col DOT com DOT cn>
To: djgpp AT delorie DOT com
Date: Mon, 20 Oct 1997 14:07:47 +0000
MIME-Version: 1.0
Subject: function prototye
Message-Id: <344ae886531b002@bj.col.com.cn>

Perhaps I should post to the GCC's mailing list, but I don't know 
its exact address.

I use rsxntdj to develop Win32 programming and encountered 
the following function prototype definition in a header file:

PASCAL void *func(PASCAL void *(void)); 

I have tried:

__attribute__(stdcall) void *func(
	__attribute__(stdcall) void *(void));
__attribute__(stdcall) void *func(
	void *(void) __attribute__(stdcall));

But gcc don't compile it, how to convert this definition to a form 
gcc likes? 

- Raw text -


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