Click or drag to resize
char_ptr Structure
Represents a pointer to a string in unmanaged memory.

Namespace:  Math.Gmp.Native
Assembly:  Math.Gmp.Native (in Math.Gmp.Native.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public struct char_ptr

The char_ptr type exposes the following members.

Constructors
  NameDescription
Public methodchar_ptr(IntPtr)
Creates new string using an already allocated string in unmanaged memory.
Public methodchar_ptr(String)
Creates new string in unmanaged memory and initializes it with str.
Top
Methods
  NameDescription
Public methodEquals(Object)
Returns a value indicating whether this instance is equal to a specified object.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(char_ptr)
Returns a value indicating whether this instance is equal to a specified char_ptr value.
Public methodGetHashCode
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToIntPtr
Gets pointer to string in unmanaged memory.
Public methodToString
Gets the .NET string equivalent of the unmanaged string.
(Overrides ValueTypeToString.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Gets a value that indicates whether the two argument values are equal.
Public operatorStatic memberInequality
Gets a value that indicates whether the two argument values are different.
Top
Fields
  NameDescription
Public fieldPointer
Pointer to string in unmanaged memory.
Public fieldStatic memberZero
Gets a null char_ptr.
Top
Remarks
See Also