PythonMonkey   v1.0.1 (dev)
Loading...
Searching...
No Matches
PyBytesProxyHandler.cc File Reference

Struct for creating JS Uint8Array-like proxy objects for immutable bytes objects. More...

#include "include/PyBytesProxyHandler.hh"
#include <jsapi.h>
#include <js/ArrayBuffer.h>
Include dependency graph for PyBytesProxyHandler.cc:

Macros

#define ITEM_KIND_KEY   0
 
#define ITEM_KIND_VALUE   1
 
#define ITEM_KIND_KEY_AND_VALUE   2
 

Enumerations

enum  { BytesIteratorSlotIteratedObject , BytesIteratorSlotNextIndex , BytesIteratorSlotItemKind , BytesIteratorSlotCount }
 

Detailed Description

Struct for creating JS Uint8Array-like proxy objects for immutable bytes objects.

Author
Philippe Laporte (phili.nosp@m.ppe@.nosp@m.distr.nosp@m.ibut.nosp@m.ive.n.nosp@m.etwo.nosp@m.rk)
Date
2024-07-23

Macro Definition Documentation

◆ ITEM_KIND_KEY

#define ITEM_KIND_KEY   0

◆ ITEM_KIND_KEY_AND_VALUE

#define ITEM_KIND_KEY_AND_VALUE   2

◆ ITEM_KIND_VALUE

#define ITEM_KIND_VALUE   1

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
BytesIteratorSlotIteratedObject 
BytesIteratorSlotNextIndex 
BytesIteratorSlotItemKind 
BytesIteratorSlotCount