summaryrefslogtreecommitdiff
path: root/local/mib2c-conf.d/syntax-COUNTER64-get.m2i
blob: af05f10da727b0ca8efa46cb041cf5d6ec7e9b84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#############################################################  -*- c -*-
## generic include for XXX. Do not use directly.
##
## $Id: syntax-COUNTER64-get.m2i 11363 2004-10-15 00:52:14Z rstory $
########################################################################
@if $m2c_mark_boundary == 1@
/** START code generated by $RCSfile$ $Revision: 11363 $ */
    ## }
@end@
########################################################################
##
@include generic-get-decl.m2i@
/*
 * TODO:231:o: |-> copy $node data.
 * get ${m2c_node_lh}.low and ${m2c_node_lh}.high from $m2c_data_item_base
 */
@if ("$m2c_data_context" eq "generated")@
    ${m2c_node_lh}.high = ${m2c_data_item}${node}.high;
    ${m2c_node_lh}.low = ${m2c_data_item}${node}.low;
@else@
    return MFD_SKIP; /* TODO:235:M: |-> Remove SKIP once you've set $node data */
@end@
## spirit of @include generic-get-decl-bot.m2i@
@if $m2c_get_use_temp == 1@

    /* copy temporary value to passed parameter */
    ${node}_ptr->high = ${m2c_node_lh}.high;
    ${node}_ptr->low = ${m2c_node_lh}.low;
@end@

##
########################################################################
@if $m2c_mark_boundary == 1@
/** END code generated by $RCSfile$ $Revision: 11363 $ */
@end@