Changeset 26273


Ignore:
Timestamp:
06/03/10 15:34:20 (7 years ago)
Author:
indeyets
Message:

add missing error-constants. fixes #1847

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ragnaroek/midgard/apis/php5/midgard.c

    r24640 r26273  
    793793        REGISTER_LONG_CONSTANT("MGD_ERR_SITEGROUP_VIOLATION", MGD_ERR_SITEGROUP_VIOLATION, CONST_CS | CONST_PERSISTENT);
    794794        REGISTER_LONG_CONSTANT("MGD_ERR_NOT_OBJECT", MGD_ERR_NOT_OBJECT, CONST_CS | CONST_PERSISTENT); 
     795        REGISTER_LONG_CONSTANT("MGD_ERR_NOT_EXISTS", MGD_ERR_NOT_EXISTS, CONST_CS | CONST_PERSISTENT); 
     796        REGISTER_LONG_CONSTANT("MGD_ERR_INVALID_PROPERTY", MGD_ERR_INVALID_PROPERTY, CONST_CS | CONST_PERSISTENT);
    795797        REGISTER_LONG_CONSTANT("MGD_ERR_INVALID_NAME", MGD_ERR_INVALID_NAME, CONST_CS | CONST_PERSISTENT);
    796798        REGISTER_LONG_CONSTANT("MGD_ERR_DUPLICATE", MGD_ERR_DUPLICATE, CONST_CS | CONST_PERSISTENT);
     
    804806        REGISTER_LONG_CONSTANT("MGD_ERR_OBJECT_NAME_EXISTS", MGD_ERR_OBJECT_NAME_EXISTS, CONST_CS | CONST_PERSISTENT);
    805807        REGISTER_LONG_CONSTANT("MGD_ERR_OBJECT_NO_STORAGE", MGD_ERR_OBJECT_NO_STORAGE, CONST_CS | CONST_PERSISTENT);
    806         REGISTER_LONG_CONSTANT("MGD_ERR_OBJECT_PARENT", MGD_ERR_OBJECT_NO_PARENT, CONST_CS | CONST_PERSISTENT);
     808        REGISTER_LONG_CONSTANT("MGD_ERR_OBJECT_NO_PARENT", MGD_ERR_OBJECT_NO_PARENT, CONST_CS | CONST_PERSISTENT);
    807809        REGISTER_LONG_CONSTANT("MGD_ERR_INVALID_PROPERTY_VALUE", MGD_ERR_INVALID_PROPERTY_VALUE, CONST_CS | CONST_PERSISTENT);
    808         REGISTER_LONG_CONSTANT("MGD_ERR_INVALID_PROPERTY", MGD_ERR_INVALID_PROPERTY, CONST_CS | CONST_PERSISTENT);
    809810        REGISTER_LONG_CONSTANT("MGD_ERR_USER_DATA", MGD_ERR_USER_DATA, CONST_CS | CONST_PERSISTENT);
    810811        REGISTER_LONG_CONSTANT("MGD_ERR_OBJECT_DELETED", MGD_ERR_OBJECT_DELETED, CONST_CS | CONST_PERSISTENT);
     
    813814        REGISTER_LONG_CONSTANT("MGD_ERR_OBJECT_IMPORTED", MGD_ERR_OBJECT_IMPORTED, CONST_CS | CONST_PERSISTENT);
    814815        REGISTER_LONG_CONSTANT("MGD_ERR_MISSED_DEPENDENCE", MGD_ERR_MISSED_DEPENDENCE, CONST_CS | CONST_PERSISTENT);
    815        
     816        REGISTER_LONG_CONSTANT("MGD_ERR_TREE_IS_CIRCULAR", MGD_ERR_TREE_IS_CIRCULAR, CONST_CS | CONST_PERSISTENT);
     817        REGISTER_LONG_CONSTANT("MGD_ERR_OBJECT_IS_LOCKED", MGD_ERR_OBJECT_IS_LOCKED, CONST_CS | CONST_PERSISTENT);
     818
    816819        REGISTER_INI_ENTRIES();
    817820
Note: See TracChangeset for help on using the changeset viewer.