Initial community commit

This commit is contained in:
Jef 2024-09-24 14:54:57 +02:00
parent 537bcbc862
commit fc06254474
16440 changed files with 4239995 additions and 2 deletions

View file

@ -0,0 +1,24 @@
#pragma once
#include "foundation/types.h"
#include "nxapi.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct nx_image
{
size_t ref_count;
uint32_t width;
uint32_t height;
size_t len;
ARGB32 image[1];
} nx_image_s, *nx_image_t;
NX_API void NXImageSetHeap(HANDLE image_heap);
NX_API nx_image_t NXImageMalloc(uint32_t width, uint32_t height);
NX_API nx_image_t NXImageRetain(nx_image_t image);
#ifdef __cplusplus
}
#endif