IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 12475 for trunk/psLib


Ignore:
Timestamp:
Mar 16, 2007, 4:38:53 PM (19 years ago)
Author:
jhoblitt
Message:

add a warning of passing 64-ints to stdargs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/types/psMetadata.h

    r12283 r12475  
    99*  @author Ross Harman, MHPCC
    1010*
    11 *  @version $Revision: 1.99 $ $Name: not supported by cvs2svn $
    12 *  @date $Date: 2007-03-06 21:58:47 $
     11*  @version $Revision: 1.100 $ $Name: not supported by cvs2svn $
     12*  @date $Date: 2007-03-17 02:38:53 $
    1313*
    1414*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    499499 *  collection.
    500500 *
     501 * Note: that this function accepts it's "value" as a stdarg.  This means that
     502 * the type of the value is not coerced by the prototype.  You need to be
     503 * careful to cast 64-bit integer values as smaller types will not be promoted.
     504 * This *includes* constant values as they are typically a 32-bit type.
     505 *
    501506 *  @return bool: True for success, false for failure.
    502507 */
     
    512517 *
    513518 * Creates a new metadata item add to the metadata collection.
     519 *
     520 * Note: that this function accepts it's "value" as a stdarg.  This means that
     521 * the type of the value is not coerced by the prototype.  You need to be
     522 * careful to cast 64-bit integer values as smaller types will not be promoted.
     523 * This *includes* constant values as they are typically a 32-bit type.
    514524 *
    515525 * @return bool: True for success, false for failure.
Note: See TracChangeset for help on using the changeset viewer.