Re: [Mingw-w64-public] [PATCH] headers: Add headers for host compute system APIs

2021-08-30 Thread LIU Hao
在 2021-08-31 00:07, NightStrike 写道: I only mentioned function parameters Yes; there is no need to uglify them, because they are unreferenced by standard headers. Keeping them the same with Windows SDK should be reasonably fine. -- Best regards, LIU Hao OpenPGP_signature Description: Op

Re: [Mingw-w64-public] [PATCH] headers: Add headers for host compute system APIs

2021-08-30 Thread NightStrike
On Mon, Aug 30, 2021 at 8:59 AM LIU Hao wrote: > > 在 8/30/21 2:42 PM, NightStrike 写道: > > > > All of those function parameters need to be uglified or removed. I > > personally prefer removing them when they provide no additional > > context. Example: > > > > struct timespec * ts << "ts" is redun

Re: [Mingw-w64-public] [PATCH] headers: Add headers for host compute system APIs

2021-08-30 Thread LIU Hao
在 8/30/21 2:42 PM, NightStrike 写道: All of those function parameters need to be uglified or removed. I personally prefer removing them when they provide no additional context. Example: struct timespec * ts << "ts" is redundant here int timespec << assuming it is such a thing, here, the variabl

Re: [Mingw-w64-public] [PATCH] headers: Add headers for host compute system APIs

2021-08-30 Thread NightStrike
It's required by the language standard. On Sun, Aug 29, 2021, 23:03 Biswapriyo Nath wrote: > IMHO, I don't see any proper reason to "uglify" every header file. Some > issues: > 1. If parameters are removed the function declarations will look cryptic. > 2. If I want to see a function prototype qu

Re: [Mingw-w64-public] [PATCH] headers: Add headers for host compute system APIs

2021-08-30 Thread Biswapriyo Nath
IMHO, I don't see any proper reason to "uglify" every header file. Some issues: 1. If parameters are removed the function declarations will look cryptic. 2. If I want to see a function prototype quickly without opening a web browser header files are handy at that time. 3. If there is any wrong in c

Re: [Mingw-w64-public] [PATCH] headers: Add headers for host compute system APIs

2021-08-29 Thread NightStrike
On Sun, Aug 29, 2021 at 5:39 AM LIU Hao wrote: > > 在 2021-08-27 03:22, Biswapriyo Nath 写道: > > From d8b3fa8e4c2ddaede22ca0b134b5dcccd34aa87f Mon Sep 17 00:00:00 2001 > > From: Biswapriyo Nath > > Date: Fri, 27 Aug 2021 00:51:06 +0530 > > Subject: [PATCH] headers: Add headers for host compute syst

Re: [Mingw-w64-public] [PATCH] headers: Add headers for host compute system APIs

2021-08-29 Thread LIU Hao
在 2021-08-27 03:22, Biswapriyo Nath 写道: From d8b3fa8e4c2ddaede22ca0b134b5dcccd34aa87f Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Fri, 27 Aug 2021 00:51:06 +0530 Subject: [PATCH] headers: Add headers for host compute system APIs Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/in

[Mingw-w64-public] [PATCH] headers: Add headers for host compute system APIs

2021-08-26 Thread Biswapriyo Nath
From d8b3fa8e4c2ddaede22ca0b134b5dcccd34aa87f Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Fri, 27 Aug 2021 00:51:06 +0530 Subject: [PATCH] headers: Add headers for host compute system APIs Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/computecore.h| 82