ReactOS 0.4.15-dev-7942-gd23573b
mingw_helpers.c File Reference
#include <oscalls.h>
#include <internal.h>
#include <process.h>
#include <math.h>
#include <stdlib.h>
#include <tchar.h>
#include <sect_attribs.h>
#include <locale.h>
Include dependency graph for mingw_helpers.c:

Go to the source code of this file.

Functions

void *__cdecl _decode_pointer (void *codedptr)
 
void *__cdecl _encode_pointer (void *ptr)
 

Variables

const PIMAGE_TLS_CALLBACK __dyn_tls_init_callback
 
int mingw_app_type = 0
 

Function Documentation

◆ _decode_pointer()

void *__cdecl _decode_pointer ( void codedptr)

Definition at line 19 of file mingw_helpers.c.

20{
21 return (void *) codedptr;
22}

Referenced by __call_atexit(), and _onexit().

◆ _encode_pointer()

void *__cdecl _encode_pointer ( void ptr)

Definition at line 25 of file mingw_helpers.c.

26{
27 return ptr;
28}
static PVOID ptr
Definition: dispmode.c:27

Referenced by _onexit().

Variable Documentation

◆ __dyn_tls_init_callback

const PIMAGE_TLS_CALLBACK __dyn_tls_init_callback
extern

This file has no copyright assigned and is placed in the Public Domain. This file is part of the w64 mingw-runtime package. No warranty is given; refer to the file DISCLAIMER.PD within this package.

Definition at line 107 of file tlssup.c.

◆ mingw_app_type

int mingw_app_type = 0

Definition at line 31 of file mingw_helpers.c.