Skip to content
Snippets Groups Projects
  1. Oct 07, 2022
  2. Oct 01, 2022
  3. Sep 30, 2022
  4. Sep 29, 2022
  5. Sep 19, 2022
  6. Sep 13, 2022
  7. Sep 12, 2022
  8. Sep 05, 2022
  9. Aug 31, 2022
    • Alberto Miranda's avatar
      Separate managed_rpc_type lifetime management from type conversion · 70a8dfb7
      Alberto Miranda authored
      This commit separates the functionality of managed_rpc_type<T> into
      dedicated lifetime management types and conversion functions. This
      makes for clearer the code since it is now possible to know when
      a conversion is performed.
      
      Lifetime management for C-types is now done with the managed_ctype<T>
      types, which act only as holders of dynamically allocated C types and do not
      perform any type conversions whatsoever.
      
      Type conversions are now done with the T1 convert(T2 obj) family of functions.
      When converting from CXX to C API types, these functions effectively
      return instances of the appropriate managed_ctype<T>s. If one wishes to
      relinquish ownership of the content of the managed_ctype<T> (e.g. to
      pass it to a pure C function that will release it), this can be done
      with the managed_ctype<T>::release() function.
      Verified
      70a8dfb7
  10. Aug 30, 2022
  11. Jul 28, 2022
  12. Jul 06, 2022
  13. Jul 05, 2022
  14. Jul 04, 2022
    • Alberto Miranda's avatar
      Reorganize source code · 4d12b240
      Alberto Miranda authored
      - `scord` daemon now has its own directory in `src/scord`
      - `scord-ctl` daemon now has its own directory in `src/scord-ctl`
      - library code now lives under the  `lib` directory
      - public rpc definitions now live in `src/lib/rpcs/`
      - private rpc definitions for each daemon now live in
        `src/scord/rpcs/` and `src/scord-ctl/rpcs/`, respectively
      - `config`, `logger`, and `network` code now live under the `common` directory
      Verified
      4d12b240
  15. Jun 30, 2022
  16. Jun 14, 2022
Loading