⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ndr_compat.pl

📁 wireshark 0.99.7 最新源码
💻 PL
字号:
#!/usr/bin/perl# (C) 2007 Jelmer Vernooij <jelmer@samba.org># Published under the GNU General Public Licenseuse strict;use Test::More tests => 3;use FindBin qw($RealBin);use lib "$RealBin";use Util; use Parse::Pidl;use Parse::Pidl::IDL;sub parse_idl($) {	my $idl = shift;	my $pidl = Parse::Pidl::IDL::parse_string("interface echo { $idl }; ", "nofile");	Parse::Pidl::NDR::Parse($pidl);}test_warnings("", sub {parse_idl("void x();"); });test_warnings("nofile:0: top-level [out] pointer `x' is not a [ref] pointer\n", sub {parse_idl("void x([out,unique] int *x);"); });test_warnings("nofile:0: pointer_default_top() is a pidl extension and should not be used\n", sub {	my $pidl = Parse::Pidl::IDL::parse_string("[pointer_default_top(unique)] interface echo { void x(); }; ", "nofile");	Parse::Pidl::NDR::Parse($pidl);});

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -