Azure / Azure/azure-sdk-tools

Custom Typedef function defined in public header, used as callback, doesn't show up in APIview for C++

Open
#1,387 1 comment 0 reactions 1 assignee Assigned to @LarryOsterman View on GitHub
APIView C++ feature-request
Dominant language
C#
Stars
135
Forks
260
Avg merge
3d 1h
Merged PRs (30d)
143

Description

From https://apiview.dev/Assemblies/Review/3bd21beb2d9941a78683ac117c7bae33
![image](https://user-images.githubusercontent.com/6527137/107443314-781ea600-6aed-11eb-82db-bad4e00e2564.png)

```C
void SetLogListener(LogListener logListener);
```
#
`LogListener` is a callback function, typedef'd as follows, but doesn't show up in APIview:

`typedef std::function<void(LogLevel level, std::string const& message)> LogListener;`

https://github.com/Azure/azure-sdk-for-cpp/blob/2d4d766c6d454bfbd2a3627c5a3d8a4d81196480/sdk/core/azure-core/inc/azure/core/logging/logging.hpp#L34-L41

cc @antkmsft, @praveenkuttappan, @RickWinter

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.