kassane commented on PR #44536:
URL: https://github.com/apache/arrow/pull/44536#issuecomment-2440059267

   Currently, commit. Get error during building unittest (after generated 
bindings).
   ```bash
   Building girtod 0.23.2: building configuration [application]
        Linking girtod
        Running ../../.dub/packages/girtod/0.23.2/girtod/girtod -i source -o 
source --use-runtime-linker
   source/arrow/c/functions.d(2709,30): Error: basic type expected, not `,`
           GArrowExecutePlan* function(, GError** err) 
c_garrow_execute_plan_new;
                                ^
   ```
   How to fix a global function parameter?
   ```d
   alias c_garrow_execute_plan_new garrow_execute_plan_new;
   __gshared extern(C)
   {
   // no-mangling - C functions
   // [...]
   GArrowExecutePlan* function(, GError** err) c_garrow_execute_plan_new; // 
need remove ', '
   // [...]
   }
   ```
   The [readme - 
APILookup](https://github.com/gtkd-developers/gir-to-d/blob/master/Readme_APILookup)
 and some examples on GH, show only struct members changes, but no global 
functions params alias.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to