INNER CODE UNIT · C++

pointer

TheAssemblyArmada/Vanilla-Conquer · common/alloc.cpp:163

        pointer = (void*)(((char*)pointer) - 16);
#endif // MEM_CHECK

        free((void*)pointer);
        Memory_Calls--;
    }
}

/***************************************************************************
 * Resize_Alloc -- Change the size of an allocated block.                  *
 *                                                                         *
 *    This routine will take a previously allocated block and change its   *
 *    size without unnecessarily altering its contents.                    *
 *                                                                         *
 * INPUT:   pointer  -- Pointer to the original memory allocation.         *
 *                                                                         *
 *          new_size -- Size in bytes that it will be converted to.        *
 *                                                                         *

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…