From d99c37bca6c53535e748804b15ab5b614aa0da48 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 18 Oct 2005 15:02:45 +0000 Subject: move _mesa_exec_malloc/free() up near other malloc/free prototypes --- src/mesa/main/imports.h | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h index 2484933025..afc292cf51 100644 --- a/src/mesa/main/imports.h +++ b/src/mesa/main/imports.h @@ -1,8 +1,8 @@ /* * Mesa 3-D graphics library - * Version: 6.2 + * Version: 6.5 * - * Copyright (C) 1999-2004 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2005 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -608,6 +608,12 @@ _mesa_align_calloc( size_t bytes, unsigned long alignment ); extern void _mesa_align_free( void *ptr ); +extern void * +_mesa_exec_malloc( GLuint size ); + +extern void +_mesa_exec_free( void *addr ); + extern void * _mesa_realloc( void *oldBuffer, size_t oldSize, size_t newSize ); @@ -723,15 +729,6 @@ _mesa_exit( int status ); extern void _mesa_init_default_imports( __GLimports *imports, void *driverCtx ); -/* Allocate executable memory for codegen: - */ -extern void * -_mesa_exec_malloc( GLuint size ); - -extern void -_mesa_exec_free( void *addr ); - - #ifdef __cplusplus } -- cgit v1.2.3