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.22 by aga, Fri Jan 14 10:37:17 2005 UTC revision 1.23 by aga, Sat Jan 15 00:39:16 2005 UTC
# Line 448  private: Line 448  private:
448                  double d;                  double d;
449                  if ( hashGetLong  ( ht, "item_id"           , &l ) ) setItemID           ( l );                  if ( hashGetLong  ( ht, "item_id"           , &l ) ) setItemID           ( l );
450                  if ( hashGetLong  ( ht, "item_type_id"      , &l ) ) setItemTypeID       ( l );                  if ( hashGetLong  ( ht, "item_type_id"      , &l ) ) setItemTypeID       ( l );
                 if ( hashGetString( ht, "subtype"           , &p ) ) setSubtype          ( p );  
451                  if ( hashGetLong  ( ht, "contributor_uid"   , &l ) ) setContributorUID   ( l );                  if ( hashGetLong  ( ht, "contributor_uid"   , &l ) ) setContributorUID   ( l );
452                  if ( hashGetString( ht, "title"             , &p ) ) setTitle            ( p );                  if ( hashGetString( ht, "title"             , &p ) ) setTitle            ( p );
453                  if ( hashGetString( ht, "keywords"          , &p ) ) setKeywords         ( p );                  if ( hashGetString( ht, "keywords"          , &p ) ) setKeywords         ( p );
# Line 810  result_t indexToZval( const index_t *pIn Line 809  result_t indexToZval( const index_t *pIn
809            
810      add_assoc_long( z, "item_id", pIndex -> getItemID( ) );      add_assoc_long( z, "item_id", pIndex -> getItemID( ) );
811      add_assoc_long( z, "item_type_id", pIndex -> getItemTypeID( ) );      add_assoc_long( z, "item_type_id", pIndex -> getItemTypeID( ) );
     add_assoc_string( z, "subtype", ( char* )pIndex -> getSubtype( ), 1 );  
812      add_assoc_long( z, "contributor_uid", pIndex -> getContributorUID( ) );      add_assoc_long( z, "contributor_uid", pIndex -> getContributorUID( ) );
813      add_assoc_string( z, "title", ( char* )pIndex -> getTitle( ), 1 );      add_assoc_string( z, "title", ( char* )pIndex -> getTitle( ), 1 );
814      add_assoc_string( z, "keywords", ( char* )pIndex -> getKeywords( ), 1 );      add_assoc_string( z, "keywords", ( char* )pIndex -> getKeywords( ), 1 );

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23

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