Skip to content

Commit 32e633a

Browse files
committed
Rename xxxType to TEFxxxType, to avoid ambiguity with System.ValueType
Change-Id: I63b8e38bd54dbdeaed89e4b54003e1013a396d9d
1 parent b369077 commit 32e633a

File tree

1 file changed

+13
-13
lines changed
  • src/Tizen.Security.TEEC/Tizen.Security.TEEC

1 file changed

+13
-13
lines changed

src/Tizen.Security.TEEC/Tizen.Security.TEEC/Libteec.cs

+13-13
Original file line numberDiff line numberDiff line change
@@ -35,28 +35,28 @@ public class LoginMethod
3535
/// <summary>
3636
/// This type denotes Value parameter
3737
/// </summary>
38-
public enum ValueType : UInt32
38+
public enum TEFValueType : UInt32
3939
{
40-
Input = 0x00000001, ///< The Parameter is a ValueType tagged as input.
41-
Output = 0x00000002, ///< The Parameter is a ValueType tagged as output.
42-
InOut = 0x00000003, ///< The Parameter is a ValueType tagged as both as input and output.
40+
Input = 0x00000001, ///< The Parameter is a TEFValueType tagged as input.
41+
Output = 0x00000002, ///< The Parameter is a TEFValueType tagged as output.
42+
InOut = 0x00000003, ///< The Parameter is a TEFValueType tagged as both as input and output.
4343
}
4444

4545
/// <summary>
4646
/// This type denotes TempMemoryReference parameter
4747
/// describing a region of memory which needs to be temporarily registered for the duration of the operation.
4848
/// </summary>
49-
public enum TempMemoryType : UInt32
49+
public enum TEFTempMemoryType : UInt32
5050
{
51-
Input = 0x00000005, ///< The Parameter is a TempMemoryType and is tagged as input
51+
Input = 0x00000005, ///< The Parameter is a TEFTempMemoryType and is tagged as input
5252
Output = 0x00000006, ///< Same as Input, but the Memory Reference is tagged as output
5353
InOut = 0x00000007, ///< A Temporary Memory Reference tagged as both input and output.
5454
}
5555

5656
/// <summary>
5757
/// This type denotes SharedMemoryReference parameter
5858
/// </summary>
59-
public enum RegisteredMemoryType : UInt32
59+
public enum TEFRegisteredMemoryType : UInt32
6060
{
6161
Whole = 0x0000000C, ///< The Parameter is a Registered Memory Reference that refers to the entirety of its parent Shared Memory block.
6262
PartialInput = 0x0000000D, ///< A Registered Memory Reference structure that refers to a partial region of its parent Shared Memory block and is tagged as input.
@@ -151,9 +151,9 @@ internal BaseParameter(TEnum t) : base((uint)(object)t)
151151
/// <summary>
152152
/// This type defines a temporary memory reference.
153153
/// </summary>
154-
public sealed class TempMemoryReference : BaseParameter<TempMemoryType>
154+
public sealed class TempMemoryReference : BaseParameter<TEFTempMemoryType>
155155
{
156-
public TempMemoryReference(IntPtr buffer, uint size, TempMemoryType type) :
156+
public TempMemoryReference(IntPtr buffer, uint size, TEFTempMemoryType type) :
157157
base(type)
158158
{
159159
this.Buffer = buffer;
@@ -172,9 +172,9 @@ public TempMemoryReference(IntPtr buffer, uint size, TempMemoryType type) :
172172
/// <summary>
173173
/// This type defines a memory reference that uses a pre-registered or pre-allocated Shared Memory block.
174174
/// </summary>
175-
public sealed class RegisteredMemoryReference : BaseParameter<RegisteredMemoryType>
175+
public sealed class RegisteredMemoryReference : BaseParameter<TEFRegisteredMemoryType>
176176
{
177-
public RegisteredMemoryReference(SharedMemory parent, uint size, uint offset, RegisteredMemoryType type) :
177+
public RegisteredMemoryReference(SharedMemory parent, uint size, uint offset, TEFRegisteredMemoryType type) :
178178
base(type)
179179
{
180180
this.Parent = parent;
@@ -199,9 +199,9 @@ public RegisteredMemoryReference(SharedMemory parent, uint size, uint offset, Re
199199
/// This type defines a parameter that is not referencing shared memory, but carries instead small raw data
200200
/// passed by value.
201201
/// </summary>
202-
public sealed class Value : BaseParameter<ValueType>
202+
public sealed class Value : BaseParameter<TEFValueType>
203203
{
204-
public Value(uint a, uint b, ValueType type) :
204+
public Value(uint a, uint b, TEFValueType type) :
205205
base(type)
206206
{
207207
this.A = a;

0 commit comments

Comments
 (0)