VirtualBox

Changeset 4503

Show
Ignore:
Timestamp:
09/04/07 07:57:53 (1 year ago)
Author:
vboxsync
Message:

CFGMR3InsertBytes should take a const data pointer.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/include/VBox/cfgm.h

    r4071 r4503  
    453453 * @param   cbBytes         The value size. 
    454454 */ 
    455 CFGMR3DECL(int) CFGMR3InsertBytes(PCFGMNODE pNode, const char *pszName, void *pvBytes, size_t cbBytes); 
     455CFGMR3DECL(int) CFGMR3InsertBytes(PCFGMNODE pNode, const char *pszName, const void *pvBytes, size_t cbBytes); 
    456456 
    457457/** 
  • trunk/src/VBox/VMM/CFGM.cpp

    r4502 r4503  
    15441544 * @param   cbBytes         The value size. 
    15451545 */ 
    1546 CFGMR3DECL(int) CFGMR3InsertBytes(PCFGMNODE pNode, const char *pszName, void *pvBytes, size_t cbBytes) 
     1546CFGMR3DECL(int) CFGMR3InsertBytes(PCFGMNODE pNode, const char *pszName, const void *pvBytes, size_t cbBytes) 
    15471547{ 
    15481548    int rc; 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy