cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Allow compiler typechecking for CURL, CURLM and CURLSH

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 21 Jun 2016 19:30:37 +0200 (CEST)

On Tue, 21 Jun 2016, Reinhard Max wrote:

> Ok, but woudn't it be cleaner to have the internal code only use the
> fully-declared version of the structs and external code only use the opaque
> typecasts? And given that you are touching most of the affected lines in
> your patch already doing this cleanup as well wouldn't even make the patch
> much larger.

Hm, yes. I think you're right. It does make the separation clearer. I'll do
that.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:  https://curl.haxx.se/mail/etiquette.html
Received on 2016-06-21