Develop and Download Open Source Software

Browse CVS Repository

Diff of /xoonips/AL/xnpal.cc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.8 by aga, Wed Dec 1 01:39:55 2004 UTC revision 1.9 by aga, Wed Dec 1 01:54:32 2004 UTC
# Line 60  ZEND_FUNCTION(vp_get_groups        ); Line 60  ZEND_FUNCTION(vp_get_groups        );
60  ZEND_FUNCTION(vp_is_moderator      );  ZEND_FUNCTION(vp_is_moderator      );
61  ZEND_FUNCTION(vp_get_uid           );  ZEND_FUNCTION(vp_get_uid           );
62    
63    ZEND_FUNCTION(vp_get_last_error_string );
64    
65  ZEND_FUNCTION(vp_test_criteria     );  ZEND_FUNCTION(vp_test_criteria     );
66  ZEND_FUNCTION(vp_test_uids         );  ZEND_FUNCTION(vp_test_uids         );
67  };  };
# Line 98  zend_function_entry vpalmod_functions[] Line 100  zend_function_entry vpalmod_functions[]
100      ZEND_FE(vp_get_groups        ,NULL)      ZEND_FE(vp_get_groups        ,NULL)
101      ZEND_FE(vp_is_moderator      ,NULL)      ZEND_FE(vp_is_moderator      ,NULL)
102      ZEND_FE(vp_get_uid           ,NULL)      ZEND_FE(vp_get_uid           ,NULL)
103        ZEND_FE(vp_get_last_error_string ,NULL)
104      ZEND_FE(vp_test_criteria     ,NULL)      ZEND_FE(vp_test_criteria     ,NULL)
105      ZEND_FE(vp_test_uids         ,NULL)      ZEND_FE(vp_test_uids         ,NULL)
106      {NULL, NULL, NULL}      {NULL, NULL, NULL}
# Line 1257  ZEND_FUNCTION(vp_update_group) Line 1260  ZEND_FUNCTION(vp_update_group)
1260      RETURN_LONG( result );      RETURN_LONG( result );
1261  }  }
1262    
1263    /** エラー文字列を得る<br>
1264        string vp_get_last_error_string()
1265        @return 0 success
1266      */
1267    ZEND_FUNCTION(vp_get_last_error_string)
1268    {
1269            if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "" ) == FAILURE) {
1270                    return;
1271            }
1272            
1273            string str( getLastErrorString() );
1274            RETURN_STRING((char *)str.c_str(), 1);
1275    }
1276    

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26