History

some initial table words

Paul Batchelor committed 5 years ago

Commit b9d16ae1 parent a2233bc1 file · +11 −0Browse files

Unified · Split

core.org+11−0
@@ -801,6 +801,17 @@ stack, which allows it to be stored in a register. · 800 unmodified lines
801* Tables801* Tables
802A small abstraction for dealing with tables that are managed802A small abstraction for dealing with tables that are managed
803by patchwerk.803by patchwerk.
804** TODO Table Struct
805a struct called =sk_table=. Contains a =SKFLT= array and
806it's size.
807** TODO Creating a New Table
808Called =sk_core_table_new=. Allocates a new table and wraps
809it around a patchwerk pointer. This table will be
810automatically freed when the patch is freed.
811** TODO Getting Table Data and Size
812Getter functions =sk_table_size= and =sk_table_data=.
813** TODO Pushing/Popping Table
814=sk_core_pop_table= and =sk_core_push_table=.
804* Error Checking815* Error Checking
805=SK_ERROR_CHECK= is a convenient macro used that will816=SK_ERROR_CHECK= is a convenient macro used that will
806check an error code and exit if it is non-zero.817check an error code and exit if it is non-zero.

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t