mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-14 10:56:35 +02:00
This patch essentially just splits the non return-specific logic from generate_return_statement (i.e. the wrapping of the cpp value into a javascript one) into a separate function generate_wrap_statement that can be used to wrap any cpp value during wrapper generation.