@@ -16,9 +16,6 @@ extern "C" {
16
16
17
17
typedef struct wasmtime_component_linker_t wasmtime_component_linker_t ;
18
18
19
- typedef struct wasmtime_component_linker_instance_t
20
- wasmtime_component_linker_instance_t ;
21
-
22
19
/**
23
20
* \brief Creates a new #wasmtime_component_linker_t for the specified engine.
24
21
*
@@ -29,27 +26,6 @@ typedef struct wasmtime_component_linker_instance_t
29
26
WASM_API_EXTERN wasmtime_component_linker_t *
30
27
wasmtime_component_linker_new (const wasm_engine_t * engine );
31
28
32
- /**
33
- * \brief Creates a builder, #wasmtime_component_linker_instance_t, for the
34
- * specified named instance
35
- *
36
- * \param linker the linker in which to build out the instance in
37
- * \param name the instance name
38
- * \param linker_instance_out on success, the
39
- * #wasmtime_component_linker_instance_t
40
- *
41
- * \return wasmtime_error_t* on success `NULL` is returned, otherwise an error
42
- * is returned which describes why the build failed.
43
- *
44
- * \note This mutably borrows the provided linker, meaning nothing else should
45
- * access the linker until the returned #wasmtime_component_linker_instance_t is
46
- * deleted. The linker also needs to stay alive as long as the returned
47
- * #wasmtime_component_linker_instance_t is alive.
48
- */
49
- WASM_API_EXTERN wasmtime_error_t * wasmtime_component_linker_instance (
50
- wasmtime_component_linker_t * linker , const char * name ,
51
- wasmtime_component_linker_instance_t * * linker_instance_out );
52
-
53
29
/**
54
30
* \brief Instantiates a component instance in a given #wasmtime_context_t
55
31
*
@@ -78,15 +54,6 @@ WASM_API_EXTERN wasmtime_error_t *wasmtime_component_linker_instantiate(
78
54
WASM_API_EXTERN void
79
55
wasmtime_component_linker_delete (wasmtime_component_linker_t * linker );
80
56
81
- /**
82
- * \brief Deletes a #wasmtime_component_linker_instance_t created by
83
- * #wasmtime_component_linker_instance
84
- *
85
- * \param linker_instance the #wasmtime_component_linker_instance_t to delete
86
- */
87
- WASM_API_EXTERN void wasmtime_component_linker_instance_delete (
88
- wasmtime_component_linker_instance_t * linker_instance );
89
-
90
57
#ifdef __cplusplus
91
58
} // extern "C"
92
59
#endif
0 commit comments