Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions src/dnmd/internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,6 @@ static_assert(MDTABLE_MAX_COUNT <= 64, "Specification sets max table count to 64

#define MDTABLE_MAX_COLUMN_COUNT 9

// Macros for computing token types.
#define CreateTokenType(tk) (mdToken)(((uint32_t)tk << 24) & 0xff000000)
#define ExtractTokenType(tk) ((tk >> 24) & 0xff)

// Flags and masks used to embed column details for
// interpreting table rows.
typedef enum
Expand Down
4 changes: 4 additions & 0 deletions src/inc/dnmd.h
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,10 @@ typedef enum
#endif // DNMD_PORTABLE_PDB
} mdtable_id_t;

// Macros for computing token types.
#define CreateTokenType(tk) (mdToken)(((uint32_t)tk << 24) & 0xff000000)
#define ExtractTokenType(tk) ((tk >> 24) & 0xff)

// Table cursor definition
typedef struct mdcursor__
{
Expand Down
Loading
Loading