/alps/pcitool

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/pcitool

« back to all changes in this revision

Viewing changes to views/enum.c

  • Committer: Suren A. Chilingaryan
  • Date: 2015-10-18 01:47:47 UTC
  • Revision ID: csa@suren.me-20151018014747-9ji2ygdhz1l9wnt5
Support properties of arbitrary type

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
            return pcilib_set_value_from_static_string(ctx, val, v->names[i].name);
35
35
    }
36
36
 
37
 
    return pcilib_set_value_from_int(ctx, val, regval);
 
37
    return pcilib_set_value_from_register_value(ctx, val, regval);
38
38
}
39
39
 
40
40
static int pcilib_enum_view_write(pcilib_t *ctx, pcilib_view_context_t *view_ctx, pcilib_register_value_t *regval, const pcilib_value_t *val) {