mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-common
synced 2026-08-18 18:25:14 +00:00
marshaller: Remove deprecated replacement functions
spice-common has no stable ABI/API. Also these function caused linking problems as these functions were defined multiple times. Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Pavel Grunt <pgrunt@redhat.com>
This commit is contained in:
parent
adb36c6185
commit
86dcd22d33
@ -42,19 +42,6 @@ uint8_t *spice_marshaller_add_by_ref(SpiceMarshaller *m, const uint8_t *data, si
|
||||
uint8_t *spice_marshaller_add_by_ref_full(SpiceMarshaller *m, uint8_t *data, size_t size,
|
||||
spice_marshaller_item_free_func free_data, void *opaque);
|
||||
void spice_marshaller_add_chunks_by_ref(SpiceMarshaller *m, SpiceChunks *chunks);
|
||||
SPICE_GNUC_DEPRECATED inline uint8_t *spice_marshaller_add_ref(SpiceMarshaller *m, const uint8_t *data, size_t size)
|
||||
{
|
||||
return spice_marshaller_add_by_ref(m, data, size);
|
||||
}
|
||||
SPICE_GNUC_DEPRECATED inline uint8_t *spice_marshaller_add_ref_full(SpiceMarshaller *m, uint8_t *data, size_t size,
|
||||
spice_marshaller_item_free_func free_data, void *opaque)
|
||||
{
|
||||
return spice_marshaller_add_by_ref_full(m, data, size, free_data, opaque);
|
||||
}
|
||||
SPICE_GNUC_DEPRECATED inline void spice_marshaller_add_ref_chunks(SpiceMarshaller *m, SpiceChunks *chunks)
|
||||
{
|
||||
spice_marshaller_add_chunks_by_ref(m, chunks);
|
||||
}
|
||||
void spice_marshaller_flush(SpiceMarshaller *m);
|
||||
void spice_marshaller_set_base(SpiceMarshaller *m, size_t base);
|
||||
uint8_t *spice_marshaller_linearize(SpiceMarshaller *m, size_t skip,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user