~oif-team/geis/geis2_add_regions

« back to all changes in this revision

Viewing changes to libutouch-geis/geis_error.c

  • Committer: Stephen M. Webb
  • Date: 2010-12-06 12:10:40 UTC
  • mfrom: (87.1.25 geis2)
  • Revision ID: stephen.webb@canonical.com-20101206121040-y9dnfcl89kdot63t
Added a back end base and test fixture.

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
{
75
75
  if (geis)
76
76
  {
77
 
    geis_error_stack_clear(&geis->error_stack);
 
77
    geis_error_stack_clear(geis_error_stack(geis));
78
78
  }
79
79
  else
80
80
  {
88
88
{
89
89
  if (geis)
90
90
  {
91
 
    geis_error_stack_push(&geis->error_stack, code);
 
91
    geis_error_stack_push(geis_error_stack(geis), code);
92
92
  }
93
93
  else
94
94
  {
102
102
{
103
103
  if (geis)
104
104
  {
105
 
    return geis->error_stack.error_count;
 
105
    return geis_error_stack(geis)->error_count;
106
106
  }
107
107
  else
108
108
  {
117
117
  GeisStatus status = GEIS_STATUS_UNKNOWN_ERROR;
118
118
  if (geis)
119
119
  {
120
 
    status = geis_error_stack_get(&geis->error_stack, index);
 
120
    status = geis_error_stack_get(geis_error_stack(geis), index);
121
121
  }
122
122
  else
123
123
  {