~ubuntu-branches/ubuntu/trusty/blender/trusty

« back to all changes in this revision

Viewing changes to source/blender/makesrna/intern/rna_test.c

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2013-03-06 12:08:47 UTC
  • mfrom: (1.5.1) (14.1.8 experimental)
  • Revision ID: package-import@ubuntu.com-20130306120847-frjfaryb2zrotwcg
Tags: 2.66a-1ubuntu1
* Resynchronize with Debian (LP: #1076930, #1089256, #1052743, #999024,
  #1122888, #1147084)
* debian/control:
  - Lower build-depends on libavcodec-dev since we're not
    doing the libav9 transition in Ubuntu yet

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
    (void)0
58
58
 
59
59
#define DEF_GET_SET(type, arr)                                          \
60
 
    void rna_Test_ ## arr ## _get(PointerRNA * ptr, type * values)        \
 
60
    void rna_Test_ ## arr ## _get(PointerRNA * ptr, type * values)      \
61
61
        {                                                                   \
62
62
                memcpy(values, arr, sizeof(arr));                               \
63
63
        }                                                                   \
69
69
    (void)0
70
70
 
71
71
#define DEF_GET_SET_LEN(arr, max)                                       \
72
 
    static int rna_Test_ ## arr ## _get_length(PointerRNA * ptr)         \
 
72
    static int rna_Test_ ## arr ## _get_length(PointerRNA * ptr)        \
73
73
        {                                                                   \
74
74
                return arr ## _len;                                             \
75
75
        }                                                                   \