private sk_push ( IntPtr stack, IntPtr data ) : int | ||
stack | IntPtr | |
data | IntPtr | |
return | int |
public static extern int sk_push(IntPtr stack, IntPtr data);
/// <summary> /// Calls sk_push() /// </summary> /// <param name="item"></param> public void Add(T item) { // Add the item to the stack if (Native.sk_push(this.ptr, item.Handle) <= 0) { throw new OpenSslException(); } // Addref the native pointer item.AddRef(); }