Skip to content

Commit

Permalink
Update Private Headers with ones from coolstar's recent disassembly.
Browse files Browse the repository at this point in the history
  • Loading branch information
coolstar committed Jun 21, 2013
1 parent 5dd65ee commit 9c45279
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 5 deletions.
Binary file modified RecordMyScreen/headers/.DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion RecordMyScreen/headers/CoreSurface/CoreSurface.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ unsigned int CoreSurfaceBufferGetPixelFormatType(CoreSurfaceBufferRef surface);
unsigned int CoreSurfaceBufferGetID(CoreSurfaceBufferRef surface);
unsigned int CoreSurfaceBufferGetPlaneCount(CoreSurfaceBufferRef surface);

int CoreSurfaceBufferLock(CoreSurfaceBufferRef surface);
int CoreSurfaceBufferLock(CoreSurfaceBufferRef surface, int unknown);
int CoreSurfaceBufferUnlock(CoreSurfaceBufferRef surface);
int CoreSurfaceBufferWrapClientMemory(CoreSurfaceBufferRef surface);
void *CoreSurfaceBufferGetBaseAddress(CoreSurfaceBufferRef surface);
Expand Down
4 changes: 2 additions & 2 deletions RecordMyScreen/headers/Headers/IOSurface.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#ifndef _IOSURFACE_H
#define _IOSURFACE_H 1

#include <IOSurfaceBase.h>
#include <IOSurfaceAPI.h>
#include <IOSurface/IOSurfaceBase.h>
#include <IOSurface/IOSurfaceAPI.h>

#endif
2 changes: 1 addition & 1 deletion RecordMyScreen/headers/Headers/IOSurfaceAPI.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#define _IOSURFACE_API_H 1

#include <IOKit/IOKitLib.h>
#include <IOSurfaceBase.h>
#include <IOSurface/IOSurfaceBase.h>

__BEGIN_DECLS

Expand Down
Binary file modified RecordMyScreen/headers/IOKit/.DS_Store
Binary file not shown.
10 changes: 9 additions & 1 deletion RecordMyScreen/headers/IOMobileFrameBuffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
#include <stdio.h> // For mprotect
#include <sys/mman.h>

#ifdef __cplusplus
extern "C" {
#endif

#define kIOMobileFramebufferError 0xE0000000

typedef kern_return_t IOMobileFramebufferReturn;
Expand Down Expand Up @@ -78,4 +82,8 @@ IOMobileFramebufferSwapWait(

/*
IOMobileFramebufferGetDisplaySize(io_connect_t connect, CGSize *t);
*/
*/

#ifdef __cplusplus
}
#endif

0 comments on commit 9c45279

Please sign in to comment.