public static UIntPtr SizeOfDDict(DDict *dDict) { IL.Push(dDict); IL.Push(ZSTD_sizeof_DDict); IL.Emit.Tail(); IL.Emit.Calli(new StandAloneMethodSig(CallingConvention.Cdecl, typeof(UIntPtr), typeof(DDict *))); return(IL.Return <UIntPtr>()); }
public static UIntPtr ReferenceDictionary(DCtx *dCtx, DDict *dDict) { IL.Push(dCtx); IL.Push(dDict); IL.Push(ZSTD_DCtx_refDDict); IL.Emit.Tail(); IL.Emit.Calli(new StandAloneMethodSig(CallingConvention.Cdecl, typeof(UIntPtr), typeof(DCtx *), typeof(DDict *))); return(IL.Return <UIntPtr>()); }