VirtualBox

Changeset 4503 in vbox for trunk


Ignore:
Timestamp:
Sep 4, 2007 5:57:53 AM (17 years ago)
Author:
vboxsync
Message:

CFGMR3InsertBytes should take a const data pointer.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • 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;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette