view loader/ldt_keeper.h @ 34083:0a44fc1d4e72

Simplify wsAutohideCursor(). Use window pointer as the flag. This enables omitting the parameter to the function and doesn't require a special note on the usage, because misuse isn't possible any longer.
author ib
date Sat, 01 Oct 2011 15:32:04 +0000
parents 6506ce7ba414
children
line wrap: on
line source

#ifndef MPLAYER_LDT_KEEPER_H
#define MPLAYER_LDT_KEEPER_H

extern void *fs_seg;

typedef struct {
  void* fs_seg;
  char* prev_struct;
} ldt_fs_t;

void Setup_FS_Segment(void);
ldt_fs_t* Setup_LDT_Keeper(void);
void Restore_LDT_Keeper(ldt_fs_t* ldt_fs);

#endif /* MPLAYER_LDT_KEEPER_H */