getVoidType() защищенный Метод

protected getVoidType ( ) : CType
Результат CType
Пример #1
0
            private bool bindImplicitConversionFromPointer()
            {
                // 27.4 Pointer conversions
                //
                // In an unsafe context, the set of available implicit conversions (13.1) is extended to include
                // the following implicit pointer conversions:
                //
                // * From any pointer-type to the type void*.

                if (_typeDest is PointerType ptDest && ptDest.GetReferentType() == _binder.getVoidType())
                {
                    if (_needsExprDest)
                    {
                        _binder.bindSimpleCast(_exprSrc, _typeDest, out _exprDest);
                    }
                    return(true);
                }
                return(false);
            }