mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
Tidy executable memory support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26731 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
eb7aa72cb1
commit
703aff6ef5
3 changed files with 109 additions and 107 deletions
|
@ -498,5 +498,19 @@ long
|
|||
GSPrivateUnloadModule(FILE *errorStream,
|
||||
void (*unloadCallback)(Class, struct objc_category *)) GS_ATTRIB_PRIVATE;
|
||||
|
||||
|
||||
/* Memory to use to put executabel code in.
|
||||
*/
|
||||
@interface GSCodeBuffer : NSObject
|
||||
{
|
||||
unsigned size;
|
||||
void *buffer;
|
||||
}
|
||||
+ (GSCodeBuffer*) memoryWithSize: (unsigned)_size;
|
||||
- (void*) buffer;
|
||||
- (id) initWithSize: (unsigned)_size;
|
||||
- (void) protect;
|
||||
@end
|
||||
|
||||
#endif /* _GSPrivate_h_ */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue