blob: a0c429c2f131df6462bcf26245a7a39309df1442 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#define HASH_DEFINE #define
#define PLAT_ASM_OFFSET(offset, cls, member) HASH_DEFINE OFFSETOF__##cls##__##member 0x##offset
#define PLAT_ASM_SIZEOF(size, cls ) HASH_DEFINE SIZEOF__##cls 0x##size
#define PLAT_ASM_CONST(constant, expr) HASH_DEFINE expr 0x##constant
#include <AsmOffsets.h>
|