Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

transport(ptp): move from protobuf to fixed-size c-struct #388

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Mar 13, 2024

  1. transport(ptp): move from protobuf to fixed-size c-struct

    This commit moves the abstraction of a PTP message from a protobuf
    object to a fixed-size C-struct with a heap pointer. The rationale
    is that these PTP messages move through the system, and even when
    careful it is challenging to keep track of the copies allocations
    that protobuf is doing under the hood. In exchange, we are very
    explicity about the copies and allocations we do.
    csegarragonz committed Mar 13, 2024
    Configuration menu
    Copy the full SHA
    8eb27e0 View commit details
    Browse the repository at this point in the history