nasa / bplib

Apache License 2.0
30 stars 13 forks source link

Fix #64, Implement safer BPLib handles #66

Closed jphickey closed 2 years ago

jphickey commented 2 years ago

Introduces a separate type "bp_handle_t" that should be used as an identifier in place of "int".

Users should not do mathematical operations on IDs and should not assume any particular traits of this value.