Subversion Repositories Tewi

Rev

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

Rev 349 Rev 359
Line 1... Line 1...
1
/* $Id: module.c 349 2024-10-15 20:08:08Z nishi $ */
1
/* $Id: module.c 359 2024-10-16 14:34:51Z 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__)
20
#if defined(_PSP) || defined(__PPU__) || defined(__ps2sdk__) || defined(__NeXT__) || defined(__DOS__)
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; }