12 Commits

Author SHA1 Message Date
jackcmay
1075a73902 Elf relocations (#1724)
Use relocatable BPF ELFs
2018-11-07 09:40:23 -08:00
Michael Vines
3ea0651078 Rename sol_bpf.h to solana_sdk.h 2018-10-31 23:46:34 -07:00
Michael Vines
776b1c2294 sol_bpf.h improvements
- Define NULL
- Add sol_memcmp()
- Use sizeof() more
- Add SOL_ARRAY_SIZE
- Make sol_deserialize() more flexible
2018-10-31 23:46:34 -07:00
Michael Vines
5ecb9da801 Fix up bpf numeric types 2018-10-31 20:53:44 -07:00
Jack May
cf521a5bd2 Fix const 2018-10-31 07:03:38 -07:00
Jack May
bc13248e1c Fix C programs 2018-10-31 07:03:38 -07:00
Michael Vines
4af7c82ef0 Add extern "C" block 2018-10-29 20:52:38 -07:00
Michael Vines
52e5fb7e0c Use #pragma once, it's widely supported
Fix up some spelling too
2018-10-29 20:52:38 -07:00
Michael Vines
a013e8ceb1 Rename sol_bpf_c.h to sol_bpf.h 2018-10-29 20:52:38 -07:00
Michael Vines
864632b582 slight reformatting 2018-10-29 20:52:38 -07:00
Michael Vines
71d6eaacef Apply some const 2018-10-29 20:52:38 -07:00
Michael Vines
37213209c5 Create programs/bpf/c/sdk/ 2018-10-29 19:10:29 -07:00