C API: map PiiKind enums from C++ to C in mat.h

Open Beginner friendly
#628 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
62/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Stale
Tech stack
c, cpp
Domain
api

Research direction

Start by comparing the PiiKind enum definitions in Enums.hpp with the C API declarations in mat.h. Add the missing C-facing mappings while preserving the values used by the C++ definitions, then verify that C API customers can reference the PiiKind enums without manually specifying numeric values.

Written by the indexing model from the issue text.

Description

C API enhancement

Pii Kind enums are not currently exposed to C API customers. Need to add these to mat.h

Workaround: manually specify value that matches Pii Kind in Enums.hpp

Dominant language
C
Stars
102
Forks
66
Avg merge
3d 3h
Merged PRs (30d)
11

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/cpp_client_telemetry

All issues in microsoft/cpp_client_telemetry

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.