mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 12:32:40 +02:00
display/parcel.h: publish ParcelHeader struct
This commit is contained in:
parent
a0b3d3e193
commit
180cd9b550
@ -2,6 +2,13 @@
|
||||
#include "../result.h"
|
||||
#include "../display/binder.h"
|
||||
|
||||
typedef struct {
|
||||
u32 payload_size;
|
||||
u32 payload_off;
|
||||
u32 objects_size;
|
||||
u32 objects_off;
|
||||
} ParcelHeader;
|
||||
|
||||
#define PARCEL_MAX_PAYLOAD 0x400
|
||||
|
||||
typedef struct {
|
||||
|
@ -4,13 +4,6 @@
|
||||
|
||||
// This implements Android Parcel, hence names etc here are based on Android Parcel.cpp.
|
||||
|
||||
typedef struct {
|
||||
u32 payload_size;
|
||||
u32 payload_off;
|
||||
u32 objects_size;
|
||||
u32 objects_off;
|
||||
} ParcelHeader;
|
||||
|
||||
void parcelCreate(Parcel *ctx)
|
||||
{
|
||||
memset(ctx, 0, sizeof(Parcel));
|
||||
|
Loading…
Reference in New Issue
Block a user