Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

/home/groups/n/no/noxwizard/cvs/src/amx/amx_api.h File Reference

#include "../typedefs.h"
#include "amx.h"
#include <vector>

Go to the source code of this file.

Defines

#define AMX_NATIVE_CALL
#define AMXAPI
#define swapcell   swap32
#define Align_Address   amx_Align32

Typedefs

typedef unsigned long int ucell
typedef long int cell
typedef __amx AMX
typedef cell(* AMX_NATIVE )(struct __amx *amx, cell *params)
typedef int(* AMX_CALLBACK )(struct __amx *amx, cell index, cell *result, cell *params)
typedef int(* AMX_DEBUG )(struct __amx *amx)

Functions

int amx_GetAddr (AMX *amx, cell amx_addr, cell **phys_addr)
int amx_GetString (char *dest, cell *source)
int amx_SetString (cell *dest, char *source, int pack)
int amx_SetUserData (AMX *amx, long tag, void *ptr)
int amx_StrLen (cell *cstring, int *length)
int printstring (AMX *amx, cell *cstr, cell *params, int num)
int amx_getLittleEndian ()
 Returns the amx_LittleEndian integer value.

void swap16 (uint16_t *v)
void swap32 (uint32_t *v)
int amx_SetStringUnicode (cell *dest, wstring &source)
int amx_GetStringUnicode (wstring &dest, cell *source)


Define Documentation

#define Align_Address   amx_Align32
 

#define AMX_NATIVE_CALL
 

#define AMXAPI
 

#define swapcell   swap32
 


Typedef Documentation

typedef struct __amx AMX
 

typedef int( * AMX_CALLBACK)(struct __amx *amx, cell index, cell *result, cell *params)
 

typedef int( * AMX_DEBUG)(struct __amx *amx)
 

typedef cell( * AMX_NATIVE)(struct __amx *amx, cell *params)
 

typedef long int cell
 

typedef unsigned long int ucell
 


Function Documentation

int amx_GetAddr AMX   amx,
cell    amx_addr,
cell **    phys_addr
 

int amx_getLittleEndian  
 

Returns the amx_LittleEndian integer value.

Author:
Luxor

int amx_GetString char *    dest,
cell   source
 

int amx_GetStringUnicode wstring &    dest,
cell   source
 

int amx_SetString cell   dest,
char *    source,
int    pack
 

int amx_SetStringUnicode cell   dest,
wstring &    source
 

int amx_SetUserData AMX   amx,
long    tag,
void *    ptr
 

int amx_StrLen cell   cstring,
int *    length
 

int printstring AMX   amx,
cell   cstr,
cell   params,
int    num
 

void swap16 uint16_t   v
 

void swap32 uint32_t   v
 

SourceForge.net Logo