Subversion Repositories Tewi

Rev

Rev 187 | Rev 212 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 187 Rev 189
Line 1... Line 1...
1
/* $Id: module.c 187 2024-09-28 00:07:34Z nishi $ */
1
/* $Id: module.c 189 2024-09-29 00:37:00Z nishi $ */
2
 
2
 
3
#define SOURCE
3
#define SOURCE
4
 
4
 
5
#include "tw_module.h"
5
#include "tw_module.h"
6
 
6
 
Line 13... Line 13...
13
#include <unistd.h>
13
#include <unistd.h>
14
#include <stdlib.h>
14
#include <stdlib.h>
15
 
15
 
16
extern struct tw_config config;
16
extern struct tw_config config;
17
 
17
 
18
#if defined(_PSP) || defined(__PPU__)
18
#if defined(_PSP) || defined(__PPU__) || defined(__ps2sdk__)
19
void* tw_module_load(const char* path) { return NULL; }
19
void* tw_module_load(const char* path) { return NULL; }
20
 
20
 
21
void* tw_module_symbol(void* mod, const char* sym) { return NULL; }
21
void* tw_module_symbol(void* mod, const char* sym) { return NULL; }
22
 
22
 
23
int tw_module_init(void* mod) { return 1; }
23
int tw_module_init(void* mod) { return 1; }