/*
- * Copyright (c) 1998-2000 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 1998-2019 Apple Inc. All rights reserved.
*
* @APPLE_OSREFERENCE_LICENSE_HEADER_START@
*
*/
class IOMemoryCursor : public OSObject
{
- OSDeclareDefaultStructors(IOMemoryCursor)
+ OSDeclareDefaultStructors(IOMemoryCursor);
public:
/*!
void * segments,
UInt32 maxSegments,
UInt32 maxTransferSize = 0,
- IOByteCount *transferSize = 0);
+ IOByteCount *transferSize = NULL);
};
/************************ class IONaturalMemoryCursor ************************/
*/
class IONaturalMemoryCursor : public IOMemoryCursor
{
- OSDeclareDefaultStructors(IONaturalMemoryCursor)
+ OSDeclareDefaultStructors(IONaturalMemoryCursor);
public:
/*! @function outputSegment
PhysicalSegment *segments,
UInt32 maxSegments,
UInt32 inMaxTransferSize = 0,
- IOByteCount *transferSize = 0)
+ IOByteCount *transferSize = NULL)
{
return genPhysicalSegments(descriptor, fromPosition, segments,
maxSegments, inMaxTransferSize, transferSize);
*/
class IOBigMemoryCursor : public IOMemoryCursor
{
- OSDeclareDefaultStructors(IOBigMemoryCursor)
+ OSDeclareDefaultStructors(IOBigMemoryCursor);
public:
/*! @function outputSegment
PhysicalSegment * segments,
UInt32 maxSegments,
UInt32 inMaxTransferSize = 0,
- IOByteCount * transferSize = 0)
+ IOByteCount * transferSize = NULL)
{
return genPhysicalSegments(descriptor, fromPosition, segments,
maxSegments, inMaxTransferSize, transferSize);
*/
class IOLittleMemoryCursor : public IOMemoryCursor
{
- OSDeclareDefaultStructors(IOLittleMemoryCursor)
+ OSDeclareDefaultStructors(IOLittleMemoryCursor);
public:
/*! @function outputSegment
PhysicalSegment * segments,
UInt32 maxSegments,
UInt32 inMaxTransferSize = 0,
- IOByteCount * transferSize = 0)
+ IOByteCount * transferSize = NULL)
{
return genPhysicalSegments(descriptor, fromPosition, segments,
maxSegments, inMaxTransferSize, transferSize);