~oubiwann/geis/617301-native-python-implementation

« back to all changes in this revision

Viewing changes to testsuite/geistest/geistest.c

  • Committer: Stephen M. Webb
  • Date: 2010-07-26 01:40:31 UTC
  • Revision ID: stephen.webb@canonical.com-20100726014031-e9v4wglbzlb4boor
Added basic dbus functionality.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include <geis/geis.h>
 
2
#include <stdio.h>
 
3
 
 
4
int
 
5
main(int argc, char* argv[])
 
6
{
 
7
        GeisStatus status = GEIS_UNKNOWN_ERROR;
 
8
        GeisInstance instance;
 
9
 
 
10
        status = geis_init(NULL, &instance);
 
11
        if (status != GEIS_STATUS_SUCCESS)
 
12
        {
 
13
                fprintf(stderr, "error in geis_init\n");
 
14
                return 1;
 
15
        }
 
16
 
 
17
        while(1)
 
18
                ;
 
19
 
 
20
        geis_finish(instance);
 
21
}
 
22