[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnetC/libc/malloc calloc.c,1.2,1.3 free.c,1.
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnetC/libc/malloc calloc.c,1.2,1.3 free.c,1.2,1.3 malloc.c,1.2,1.3 realloc.c,1.2,1.3 |
Date: |
Mon, 30 Jun 2003 07:41:55 -0400 |
Update of /cvsroot/dotgnu-pnet/pnetC/libc/malloc
In directory subversions:/tmp/cvs-serv13509/libc/malloc
Modified Files:
calloc.c free.c malloc.c realloc.c
Log Message:
Replace instances of "__invoke__" with the new "::" syntax.
Index: calloc.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetC/libc/malloc/calloc.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** calloc.c 19 Aug 2002 03:43:53 -0000 1.2
--- calloc.c 30 Jun 2003 11:41:53 -0000 1.3
***************
*** 45,49 ****
/* Allocate memory from the runtime engine */
! ptr = (void *)__invoke__ Marshal.AllocHGlobal((__native__ int)full_size);
if(ptr != 0)
{
--- 45,49 ----
/* Allocate memory from the runtime engine */
! ptr = (void *)Marshal::AllocHGlobal((__native__ int)full_size);
if(ptr != 0)
{
Index: free.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetC/libc/malloc/free.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** free.c 19 Aug 2002 03:43:53 -0000 1.2
--- free.c 30 Jun 2003 11:41:53 -0000 1.3
***************
*** 28,32 ****
{
if(ptr != 0)
! __invoke__ Marshal.FreeHGlobal((__native__ int)ptr);
}
--- 28,32 ----
{
if(ptr != 0)
! Marshal::FreeHGlobal((__native__ int)ptr);
}
Index: malloc.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetC/libc/malloc/malloc.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** malloc.c 19 Aug 2002 03:43:53 -0000 1.2
--- malloc.c 30 Jun 2003 11:41:53 -0000 1.3
***************
*** 43,47 ****
/* Allocate memory from the runtime engine */
! ptr = (void *)__invoke__ Marshal.AllocHGlobal((__native__ int)size);
if(ptr != 0)
{
--- 43,47 ----
/* Allocate memory from the runtime engine */
! ptr = (void *)Marshal::AllocHGlobal((__native__ int)size);
if(ptr != 0)
{
Index: realloc.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetC/libc/malloc/realloc.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** realloc.c 19 Aug 2002 03:43:53 -0000 1.2
--- realloc.c 30 Jun 2003 11:41:53 -0000 1.3
***************
*** 42,51 ****
return 0;
}
! ptr = (void *)__invoke__ Marshal.AllocHGlobal((__native__ int)size);
}
else if(size == 0)
{
/* Perform a "free" operation */
! __invoke__ Marshal.FreeHGlobal((__native__ int)ptr);
return 0;
}
--- 42,51 ----
return 0;
}
! ptr = (void *)Marshal::AllocHGlobal((__native__ int)size);
}
else if(size == 0)
{
/* Perform a "free" operation */
! (void)Marshal::FreeHGlobal((__native__ int)ptr);
return 0;
}
***************
*** 57,61 ****
else
{
! ptr = (void *)__invoke__ Marshal.ReAllocHGlobal
((__native__ int)ptr, (__native__ int)size);
}
--- 57,61 ----
else
{
! ptr = (void *)Marshal::ReAllocHGlobal
((__native__ int)ptr, (__native__ int)size);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetC/libc/malloc calloc.c,1.2,1.3 free.c,1.2,1.3 malloc.c,1.2,1.3 realloc.c,1.2,1.3,
Rhys Weatherley <address@hidden> <=
- Prev by Date:
[Dotgnu-pnet-commits] CVS: pnet ChangeLog,1.2493,1.2494
- Next by Date:
[Dotgnu-pnet-commits] CVS: pnetC/libc/unistd close.c,1.1,1.2 dup.c,1.1,1.2 dup2.c,1.1,1.2 getlogin.c,1.1,1.2
- Previous by thread:
[Dotgnu-pnet-commits] CVS: pnet ChangeLog,1.2493,1.2494
- Next by thread:
[Dotgnu-pnet-commits] CVS: pnetC/libc/unistd close.c,1.1,1.2 dup.c,1.1,1.2 dup2.c,1.1,1.2 getlogin.c,1.1,1.2
- Index(es):