mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-03 06:45:59 +02:00
Revamp Stdcall
This commit is contained in:
parent
7b4239d08e
commit
ad0dab0d4c
58 changed files with 1398 additions and 1398 deletions
|
@ -97,7 +97,7 @@ namespace IDE.Util
|
|||
UpdateBytesPerSecond();
|
||||
}
|
||||
|
||||
[StdCall]
|
||||
[CallingConvention(.Stdcall)]
|
||||
static int Callback(void *p, int dltotal, int dlnow, int ultotal, int ulnow)
|
||||
{
|
||||
Transfer transfer = (Transfer)Internal.UnsafeCastToObject(p);
|
||||
|
@ -111,7 +111,7 @@ namespace IDE.Util
|
|||
return 0;
|
||||
}
|
||||
|
||||
[StdCall]
|
||||
[CallingConvention(.Stdcall)]
|
||||
static int Write(void* dataPtr, int size, int count, void* ctx)
|
||||
{
|
||||
Transfer transfer = (Transfer)Internal.UnsafeCastToObject(ctx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue