move _mesa_exec_malloc/free() up near other malloc/free prototypes
This commit is contained in:
+8
-11
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user