aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ffi/ffi_util.h
Commit message (Collapse)AuthorAgeFilesLines
* Ensure exception types are exported from DLLJack Lloyd2018-03-061-1/+1
| | | | GH #983
* Simplify ffi call overheadJack Lloyd2017-10-111-40/+15
| | | | Notable reductions in code size, stack size and function call overhead.
* Add wrappers for reinterpret_cast between char* and uint8_t*Jack Lloyd2017-10-031-4/+5
| | | | | | | Generally speaking reinterpret_cast is sketchy stuff. But the special case of char*/uint8_t* is both common and safe. By isolating those, the remaining (likely sketchy) cases are easier to grep for.
* Avoid using namespace in FFI headersJack Lloyd2017-10-021-1/+1
| | | | Internal only headers but Sonar doesn't know that
* Another FFI struct vs class fixJack Lloyd2017-09-301-1/+1
|
* FFI objects have to be structs because we expose them to CJack Lloyd2017-09-301-1/+1
|
* Use class instead of struct for objects with member functionsJack Lloyd2017-09-301-2/+2
| | | | Flagged by Sonar and quite reasonable
* Apply final annotations to the library alsoJack Lloyd2017-09-221-2/+2
| | | | | Done by a perl script which converted all classes to final, followed by selective reversion where it caused compilation failures.
* Change header guard format to BOTAN_FOO_H_Jack Lloyd2017-09-201-2/+2
| | | | | | ISO C++ reserves names with double underscores in them Closes #512
* Add virtual destructor to FFI botan_structJack Lloyd2017-08-031-1/+1
| | | | | | As we do inherit from it, and delete through the base pointer. Found by Coverity scanner.
* Split up ffi.cpp into several filesJack Lloyd2017-07-311-0/+197
It was getting pretty big and would get worse over time, eg whenver I get around to adding TLS support.