Subversion Repositories Tewi

Rev

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

Rev 366 Rev 402
Line 1... Line 1...
1
/* $Id: module.c 366 2024-10-17 00:54:56Z nishi $ */
1
/* $Id: module.c 402 2024-11-03 10:39:59Z nishi $ */
2
 
2
 
3
#define SOURCE
3
#define SOURCE
4
 
4
 
5
#include "tw_module.h"
5
#include "tw_module.h"
6
 
6
 
Line 15... Line 15...
15
#include <unistd.h>
15
#include <unistd.h>
16
#endif
16
#endif
17
 
17
 
18
extern struct tw_config config;
18
extern struct tw_config config;
19
 
19
 
20
#if defined(_PSP) || defined(__PPU__) || defined(__ps2sdk__) || defined(__NeXT__) || defined(__DOS__)
20
#if defined(_PSP) || defined(__PPU__) || defined(__ps2sdk__) || defined(__NeXT__) || defined(__DOS__) || defined(__amiga__)
21
void* tw_module_load(const char* path) { return NULL; }
21
void* tw_module_load(const char* path) { return NULL; }
22
 
22
 
23
void* tw_module_symbol(void* mod, const char* sym) { return NULL; }
23
void* tw_module_symbol(void* mod, const char* sym) { return NULL; }
24
 
24
 
25
int tw_module_init(void* mod) { return 1; }
25
int tw_module_init(void* mod) { return 1; }