From ec13bf79d9474972e1737a13598b1f216b342726 Mon Sep 17 00:00:00 2001 From: Jason Sams Date: Fri, 15 Oct 2010 17:57:07 -0700 Subject: Fix header file to always inline stub functions. Change-Id: I9999007c4d467d92d2f8ba5ad2a6f68fbb910959 --- libs/rs/scriptc/rs_graphics.rsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/rs') diff --git a/libs/rs/scriptc/rs_graphics.rsh b/libs/rs/scriptc/rs_graphics.rsh index ac6f8cc..7c67c0d 100644 --- a/libs/rs/scriptc/rs_graphics.rsh +++ b/libs/rs/scriptc/rs_graphics.rsh @@ -89,7 +89,7 @@ extern void __attribute__((overloadable)) extern void __attribute__((overloadable)) rsgMeshComputeBoundingBox(rs_mesh mesh, float *minX, float *minY, float *minZ, float *maxX, float *maxY, float *maxZ); -void __attribute__((overloadable)) +__inline__ static void __attribute__((overloadable, always_inline)) rsgMeshComputeBoundingBox(rs_mesh mesh, float3 *bBoxMin, float3 *bBoxMax) { float x1, y1, z1, x2, y2, z2; rsgMeshComputeBoundingBox(mesh, &x1, &y1, &z1, &x2, &y2, &z2); -- cgit v1.1