You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# c_api.h
/*! * \brief Load dataset from file (like LightGBM CLI version does). * \param filename The name of the file * \param parameters Additional parameters * \param reference Used to align bin mapper with other dataset, nullptr means isn't used * \param[out] out A loaded dataset * \return 0 when succeed, -1 when failure happens */LIGHTGBM_C_EXPORTintLGBM_DatasetCreateFromFile(constchar*filename,
constchar*parameters,
constDatasetHandlereference,
DatasetHandle*out);
# C-API.rst
C API
=====
.. doxygenfile:: c_api.h
results in error
Warning, treated as error:
/home/runner/work/LightGBM/LightGBM/docs/C-API.rst:2:Unparseable C cross-reference: '[out]'
Invalid C declaration: Expected identifier in nested name. [error at 0]
[out]
^
make: *** [Makefile:20: html] Error 2
Hi!
The following code
results in error
breathe
config:Doxygen invocation:
Full reproducible project:
https://github.com/microsoft/LightGBM/tree/master/docs
Restricting
breathe
version:breathe<4.29
allows to generate docs without any issues.The text was updated successfully, but these errors were encountered: