From 7ce033d797e5df5e2131e2ed459fba181eaf4658 Mon Sep 17 00:00:00 2001 From: Jason Sams Date: Tue, 18 Aug 2009 14:14:24 -0700 Subject: Cleanup of object destruction. No need to have a per-class destruction function. This was a legacy of the distant past when the classes did not have a common base. --- libs/rs/rsAdapter.cpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'libs/rs/rsAdapter.cpp') diff --git a/libs/rs/rsAdapter.cpp b/libs/rs/rsAdapter.cpp index 25f3340..3242e11 100644 --- a/libs/rs/rsAdapter.cpp +++ b/libs/rs/rsAdapter.cpp @@ -76,12 +76,6 @@ RsAdapter1D rsi_Adapter1DCreate(Context *rsc) return a; } -void rsi_Adapter1DDestroy(Context *rsc, RsAdapter1D va) -{ - Adapter1D * a = static_cast(va); - a->decRef(); -} - void rsi_Adapter1DBindAllocation(Context *rsc, RsAdapter1D va, RsAllocation valloc) { Adapter1D * a = static_cast(va); @@ -195,12 +189,6 @@ RsAdapter2D rsi_Adapter2DCreate(Context *rsc) return a; } -void rsi_Adapter2DDestroy(Context *rsc, RsAdapter2D va) -{ - Adapter2D * a = static_cast(va); - a->decRef(); -} - void rsi_Adapter2DBindAllocation(Context *rsc, RsAdapter2D va, RsAllocation valloc) { Adapter2D * a = static_cast(va); -- cgit v1.1