Changeset 3573 for trunk/kStuff/include


Ignore:
Timestamp:
Aug 31, 2007, 6:09:23 AM (18 years ago)
Author:
bird
Message:

kHlp work...

Location:
trunk/kStuff/include/k
Files:
6 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/kStuff/include/k/kErrors.h

    r3550 r3573  
    3838 */
    3939/** The base of the general status codes. */
    40 #define KERR_GENERAL_BASE                               (KERR_BASE )
     40#define KERR_GENERAL_BASE                               (KERR_BASE)
    4141/** Generic error. */
    4242#define KERR_GENERAL_FAILURE                            (KERR_GENERAL_BASE + 1)
     
    4545/** Hit some unimplemented functionality - feel free to implement it :-) . */
    4646#define KERR_NOT_IMPLEMENTED                            (KERR_GENERAL_BASE + 3)
     47/** An environment variable wasn't found. */
     48#define KERR_ENVVAR_NOT_FOUND                           (KERR_GENERAL_BASE + 4)
     49/** Buffer overflow. */
     50#define KERR_BUFFER_OVERFLOW                            (KERR_GENERAL_BASE + 5)
    4751/** @}*/
    4852
     
    5155 */
    5256/** The base of the input validation status codes. */
    53 #define KERR_INPUT_BASE                                 (KERR_GENERAL_BASE + 4)
     57#define KERR_INPUT_BASE                                 (KERR_GENERAL_BASE + 6)
    5458/** An API was given an invalid parameter. */
    5559#define KERR_INVALID_PARAMETER                          (KERR_INPUT_BASE + 0)
  • trunk/kStuff/include/k/kHlpAlloc.h

    r3552 r3573  
    6161KHLP_DECL(int)      kHlpPageFree(void *pv, KSIZE cb);
    6262
     63KHLP_DECL(int)      kHlpHeapInit(void);
     64KHLP_DECL(void)     kHlpHeapTerm(void);
     65KHLP_DECL(void)     kHlpHeapDonate(void *pv, KSIZE cb);
     66
    6367#ifdef __cplusplus
    6468}
  • trunk/kStuff/include/k/kHlpString.h

    r3552 r3573  
    2828#define ___k_kHlpString_h___
    2929
    30 #include <k/kDefs.h>
     30#include <k/kHlpDefs.h>
    3131#include <k/kTypes.h>
    3232
     
    118118int     kHlpStrIComp(const char *pv1, const char *pv2);
    119119
     120KHLP_DECL(char *)   kHlpInt2Ascii(char *psz, KSIZE cch, long lVal, unsigned iBase);
     121
    120122#ifdef __cplusplus
    121123}
  • trunk/kStuff/include/k/kLdr.h

    r3571 r3573  
    10191019                              const char *pszName, KU32 idLang, PFNKLDRENUMRSRC pfnCallback, void *pvUser);
    10201020
     1021
    10211022/** @name OS/2 like API
    10221023 * @{ */
     
    11161117typedef const KLDREXEARGS *PCKLDREXEARGS;
    11171118
    1118 void kLdrLoadExe(PCKLDREXEARGS pArgs, void *pvOS);
     1119void kLdrLoadExe(PCKLDREXEARGS pArgs, void *pvOS); /** @todo fix this mess... */
     1120void kLdrDyldLoadExe(PCKLDREXEARGS pArgs, void *pvOS);
    11191121
    11201122/** @} */
Note: See TracChangeset for help on using the changeset viewer.