PSPSDK 1.0+beta2
Loading...
Searching...
No Matches
pspkdebug.h
Go to the documentation of this file.
1/*
2 * PSP Software Development Kit - https://github.com/pspdev
3 * -----------------------------------------------------------------------
4 * Licensed under the BSD license, see LICENSE in PSPSDK root for details.
5 *
6 * pspkdebug.h - Interface to KDebugForKernel.
7 *
8 * Copyright (c) 2005 James Forshaw <tyranid@gmail.com>
9 *
10 */
11
12#ifndef PSPKDEBUG_H
13#define PSPKDEBUG_H
14
15#include <pspkerneltypes.h>
16
20#ifdef __cplusplus
21extern "C" {
22#endif
23
28typedef void (*PspDebugPutChar)(unsigned short* args, unsigned int ch);
29
36
43
50void Kprintf(const char *format, ...) __attribute__((format(printf, 1, 2)));
51
54#ifdef __cplusplus
55}
56#endif
57
58#endif
void sceKernelRegisterDebugPutchar(PspDebugPutChar func)
Register a debug put character handler.
PspDebugPutChar sceKernelGetDebugPutchar(void)
Get the debug put character handler.
void Kprintf(const char *format,...) __attribute__((format(printf
Kernel printf function.
void(* PspDebugPutChar)(unsigned short *args, unsigned int ch)
Typedef for the debug putcharacter handler.
Definition pspkdebug.h:28
struct sockaddr_in __attribute__
float x
Definition psptypes.h:0