From 716150668931a1461569b3020d38a30f8b9afe69 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Wed, 29 Aug 2007 00:00:50 +0000 Subject: * rubygen/cppgen.rb: Use class Uuid for AMQP uuids. * rubygen/templates/structs.rb: Use class Uuid for AMQP uuids. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@570595 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/rubygen/cppgen.rb | 4 +--- cpp/rubygen/templates/structs.rb | 3 +-- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'cpp/rubygen') diff --git a/cpp/rubygen/cppgen.rb b/cpp/rubygen/cppgen.rb index 0063231e84..c6f06e80c7 100755 --- a/cpp/rubygen/cppgen.rb +++ b/cpp/rubygen/cppgen.rb @@ -119,9 +119,7 @@ class AmqpDomain "content"=>CppType.new("Content").passcref.retcref.code("Content"), "rfc1982-long-set"=>CppType.new("SequenceNumberSet").passcref.retcref, "long-struct"=>CppType.new("string").passcref.retcref.code("LongString"), - # FIXME aconway 2007-08-25: Use Uuid class. - # "uuid"=>CppType.new("Uuid").passcref.retcref.code, - "uuid"=>CppType.new("string").passcref.retcref.code("ShortString") + "uuid"=>CppType.new("Uuid").passcref.retcref } def cppname() name.caps; end diff --git a/cpp/rubygen/templates/structs.rb b/cpp/rubygen/templates/structs.rb index 2543c43717..fd949eb53d 100644 --- a/cpp/rubygen/templates/structs.rb +++ b/cpp/rubygen/templates/structs.rb @@ -20,8 +20,7 @@ class StructGen < CppGen "timestamp"=>"LongLong", "table"=>"FieldTable", "content"=>"Content", - "long-struct"=>"LongString", - "uuid" => "ShortString" # FIXME aconway 2007-08-27: Remove. + "long-struct"=>"LongString" } SizeMap={ "octet"=>"1", -- cgit v1.2.1