IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 15, 2006, 4:31:35 PM (20 years ago)
Author:
jhoblitt
Message:

VERSION 0.0.29

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippdb/tests/insertobject.c

    r8319 r8368  
    579579    {
    580580        psDB            *dbh;
     581        detNormalizedStatImfileRow *object;
     582
     583        dbh = psDBInit("localhost", "test", NULL, "test");
     584        if (!dbh) {
     585            exit(EXIT_FAILURE);
     586        }
     587
     588        object = detNormalizedStatImfileRowAlloc(-32, -32, "a string", 32.32);
     589        if (!object) {
     590            exit(EXIT_FAILURE);
     591        }
     592
     593        if (!detNormalizedStatImfileInsertObject(dbh, object)) {
     594            exit(EXIT_FAILURE);
     595        }
     596
     597        psFree(object);
     598        psDBCleanup(dbh);
     599    }
     600
     601    {
     602        psDB            *dbh;
    581603        detNormalizedImfileRow *object;
    582604
Note: See TracChangeset for help on using the changeset viewer.