3#ifndef constant_ptr_auto_h
4#define constant_ptr_auto_h
10#include <util/constant.h>
11#define L_m_ptr m_ptr_storage
12#define L_m_ptr_elm m_struct_id
15typedef aclspv_id_t mk_ptr_elm_t(
const aclspv_wrd_t,
const h_util_ctx_t);
16void util_mk_constant_ptr_tmpl(
17 aclspv_id_t,
const aclspv_wrd_t,
const h_util_ctx_t
18 , mk_ptr_elm_t,
enum SpvStorageClass_
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54ae2f_MAC((L_new, L_m_ptr, L_m_ptr_elm, )) util_mk_constant_ptr_tmpl(
56 const aclspv_wrd_t c_key,
57 const h_util_ctx_t h_ctx,
58 mk_ptr_elm_t fn_mk_ptr_elm_ty,
59 const enum SpvStorageClass_ c_storage_class
64 util_constant* ae2f_restrict
const L_new = util_mk_constant_node(c_key, h_ctx);
65 ae2f_expected_but_else(L_new)
break;
66 ae2f_expected_but_else(L_new->m_key == (c_key))
break;
74 ae2f_expected_but_else(L_new->
L_m_ptr_elm = fn_mk_ptr_elm_ty(c_key, h_ctx))
77 ae2f_expected_but_else((h_ctx)->m_count.m_types = util_emitx_type_pointer(
78 &(h_ctx)->m_section.m_types
79 , (h_ctx)->m_count.m_types
85 (ret) = L_new->
L_m_ptr = h_ctx->m_id++;
86 }
while(ae2f_unexpected(0));
#define __ae2f_MACRO_GENERATED
#define ae2f_MAC(a)
A hint for creating a macro from void-returning function.