-
-
Notifications
You must be signed in to change notification settings - Fork 78
Expand file tree
/
Copy pathCppFunctionType.cs
More file actions
24 lines (22 loc) · 722 Bytes
/
Copy pathCppFunctionType.cs
File metadata and controls
24 lines (22 loc) · 722 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Copyright (c) Alexandre Mutel. All rights reserved.
// Licensed under the BSD-Clause 2 license.
// See license.txt file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Text;
namespace CppAst
{
/// <summary>
/// A C++ function type (e.g `void (*)(int arg1, int arg2)`)
/// </summary>
public sealed class CppFunctionType : CppFunctionTypeBase
{
/// <summary>
/// Constructor of a function type.
/// </summary>
/// <param name="returnType">Return type of this function type.</param>
public CppFunctionType(CppType returnType) : base(CppTypeKind.Function, returnType)
{
}
}
}