File: future-functions.h.template

package info (click to toggle)
mongo-c-driver 2.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 47,088 kB
  • sloc: ansic: 193,670; python: 7,780; cpp: 1,493; sh: 659; makefile: 78
file content (19 lines) | stat: -rw-r--r-- 418 bytes parent folder | download | duplicates (2)
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 */