Inheritance: TargetPointerType
Exemplo n.º 1
0
        internal static string MakePointerName(TargetType type)
        {
            NativeFunctionType func_type = type as NativeFunctionType;

            if (func_type != null)
            {
                return(func_type.GetPointerName());
            }

            NativeFunctionPointer func_ptr = type as NativeFunctionPointer;

            if (func_ptr != null)
            {
                return(((NativeFunctionType)func_ptr.Type).GetPointerName());
            }

            return(type.Name + "*");
        }
 public NativeFunctionObject(NativeFunctionPointer type, TargetLocation location)
     : base(type, location)
 {
     this.Type = type;
 }
Exemplo n.º 3
0
 public NativeFunctionObject(NativeFunctionPointer type, TargetLocation location)
     : base(type, location)
 {
     this.Type = type;
 }