mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
move _mesa_exec_malloc/free() up near other malloc/free prototypes
This commit is contained in:
parent
1c236fd5c7
commit
d99c37bca6
1 changed files with 8 additions and 11 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue