VirtualBox

source: vbox/trunk/src/VBox/Main/webservice/soap-header-to-inline-source-file.sed

Last change on this file was 106061, checked in by vboxsync, 2 months ago

Copyright year updates by scm.

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 1.1 KB
Line 
1# $Id: soap-header-to-inline-source-file.sed 106061 2024-09-16 14:03:52Z vboxsync $
2## @file
3# WebService - SED script for extracting inline functions from soapH.h
4# for putting them in a C++ source file.
5#
6
7#
8# Copyright (C) 2020-2024 Oracle and/or its affiliates.
9#
10# This file is part of VirtualBox base platform packages, as
11# available from https://www.virtualbox.org.
12#
13# This program is free software; you can redistribute it and/or
14# modify it under the terms of the GNU General Public License
15# as published by the Free Software Foundation, in version 3 of the
16# License.
17#
18# This program is distributed in the hope that it will be useful, but
19# WITHOUT ANY WARRANTY; without even the implied warranty of
20# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21# General Public License for more details.
22#
23# You should have received a copy of the GNU General Public License
24# along with this program; if not, see <https://www.gnu.org/licenses>.
25#
26# SPDX-License-Identifier: GPL-3.0-only
27#
28
29/^inline /,/^}/ {
30 /^inline /,/^{/ {
31 s/^inline/\n\/\*noinline\*\//
32 s/ *= *\([^,)]*\)\([),]\)/ \/\*=\1\*\/\2/
33 }
34 p
35}
361 c #include "soapH.h"
37d
38
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette