~siretart/ubuntu/utopic/blender/libav10

« back to all changes in this revision

Viewing changes to source/blender/blenlib/BLI_dynstr.h

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2014-02-19 11:24:23 UTC
  • mfrom: (14.2.23 sid)
  • Revision ID: package-import@ubuntu.com-20140219112423-rkmaz2m7ha06d4tk
Tags: 2.69-3ubuntu1
* Merge with Debian; remaining changes:
  - Configure without OpenImageIO on armhf, as it is not available on
    Ubuntu.

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
 
41
41
#include <stdarg.h>
42
42
 
 
43
#include "BLI_compiler_attrs.h"
 
44
 
43
45
struct DynStr;
44
46
 
45
47
/** The abstract DynStr type */
75
77
 * \param ds The DynStr to append to.
76
78
 * \param format The printf format string to use.
77
79
 */
78
 
void    BLI_dynstr_appendf(DynStr *ds, const char *format, ...)
79
 
#ifdef __GNUC__
80
 
__attribute__ ((format(printf, 2, 3)))
81
 
#endif
82
 
;
83
 
void    BLI_dynstr_vappendf(DynStr *ds, const char *format, va_list args)
84
 
#ifdef __GNUC__
85
 
__attribute__ ((format(printf, 2, 0)))
86
 
#endif
87
 
;
 
80
void    BLI_dynstr_appendf(DynStr *ds, const char *format, ...) ATTR_PRINTF_FORMAT(2, 3);
 
81
void    BLI_dynstr_vappendf(DynStr *ds, const char *format, va_list args) ATTR_PRINTF_FORMAT(2, 0);
88
82
 
89
83
/**
90
84
 * Find the length of a DynStr.