mruby/c VM Source Code release 3.4
Loading...
Searching...
No Matches
RKeyValueHandle Struct Reference

Key-Value handle. More...

#include <keyvalue.h>

Collaboration diagram for RKeyValueHandle:

Data Fields

uint16_t data_size
 data buffer size.
uint16_t n_stored
 num of stored.
union { 
   mrbc_kv *   data 
 pointer to allocated memory. More...
   struct VM *   vm 
 pointer to VM (if data_size == 0) More...
}; 

Detailed Description

Key-Value handle.

Definition at line 52 of file keyvalue.h.

Field Documentation

◆ [union]

union { ... } RKeyValueHandle

◆ data

mrbc_kv* RKeyValueHandle::data

pointer to allocated memory.

Definition at line 56 of file keyvalue.h.

◆ data_size

uint16_t RKeyValueHandle::data_size

data buffer size.

Definition at line 53 of file keyvalue.h.

◆ n_stored

uint16_t RKeyValueHandle::n_stored

num of stored.

Definition at line 54 of file keyvalue.h.

◆ vm

struct VM* RKeyValueHandle::vm

pointer to VM (if data_size == 0)

Definition at line 57 of file keyvalue.h.


The documentation for this struct was generated from the following file: