mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-07-28 22:25:52 +00:00
4052b8cc19
The Buffer API implements an append-only buffer, where you can write to the end or read from the beginning. Data that is read is discarded from the buffer, and you can query the buffer to get the current amount of data inside. Internally the buffer API is implemented as a chain of separate buffers. This is done to avoid having to resize the existing buffer, which is expensive. We keep track of where the reading currently is, and discard the internal buffers after all the data in them is read.
8 lines
180 B
Makefile
8 lines
180 B
Makefile
|
|
libqb-objs-y += $(PATH_LIBQB)/src/threading.o
|
|
libqb-objs-y += $(PATH_LIBQB)/src/buffer.o
|
|
|
|
libqb-objs-y += $(PATH_LIBQB)/src/threading-$(PLATFORM).o
|
|
|
|
CLEAN_LIST += $(libqb-objs-y)
|