From 99eb0abe1f73fff412193bd3f6e938977503c8a5 Mon Sep 17 00:00:00 2001 From: Marcelo Matus Date: Sun, 19 Mar 2006 23:37:46 +0000 Subject: [PATCH] fix names for ruby git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9017 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Examples/test-suite/typedef_struct.i | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Examples/test-suite/typedef_struct.i b/Examples/test-suite/typedef_struct.i index 0c8a2882f..800d93b27 100644 --- a/Examples/test-suite/typedef_struct.i +++ b/Examples/test-suite/typedef_struct.i @@ -31,13 +31,13 @@ typedef struct { int a; int b; -} a_t, *b_t; +} A_t, *B_t; -a_t* make_a() { - return (a_t*)malloc(sizeof(a_t)); +A_t* make_a() { + return (A_t*)malloc(sizeof(A_t)); } -b_t make_b() { +B_t make_b() { return make_a(); } %}