serial: update to use new object system
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#ifndef _SERIAL_SERIAL_H_
|
||||
#define _SERIAL_SERIAL_H_
|
||||
|
||||
#include <blue/core/object.h>
|
||||
#include <blue/serial.h>
|
||||
#include <stdint.h>
|
||||
|
||||
@@ -10,10 +11,10 @@ struct b_serial_ctx {
|
||||
|
||||
struct b_serial_format_ops {
|
||||
enum b_status (*fmt_serialise)(
|
||||
struct b_serial_ctx *, struct b_dsref *, struct b_stream *,
|
||||
struct b_serial_ctx *, b_object *, struct b_stream *,
|
||||
enum b_serial_flags);
|
||||
enum b_status (*fmt_deserialise)(
|
||||
struct b_serial_ctx *, struct b_stream *, struct b_dsref **,
|
||||
struct b_serial_ctx *, struct b_stream *, b_object **,
|
||||
enum b_serial_flags);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user