File: future-functions.h.template

package info (click to toggle)
mongo-c-driver 2.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 49,532 kB
  • sloc: ansic: 197,016; python: 7,890; cpp: 2,343; sh: 693; makefile: 77
file content (19 lines) | stat: -rw-r--r-- 418 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef FUTURE_FUNCTIONS_H
#define FUTURE_FUNCTIONS_H

#include "mock_server/future-value.h"
#include "mock_server/future.h"
#include <mongoc/mongoc-bulk-operation.h>

{{ header_comment }}

{% for F in future_functions %}
future_t *
{{ F|future_function_name }} (
{% for P in F.params %}
   {{ P.type_name }} {{ P.name }}{% if not loop.last %},{% endif %}{% endfor %}
);

{% endfor %}

#endif /* FUTURE_FUNCTIONS_H */