Subversion Repositories Tewi

Rev

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

Rev 182 Rev 187
Line 1... Line 1...
1
/* $Id: module.c 182 2024-09-27 12:55:12Z nishi $ */
1
/* $Id: module.c 187 2024-09-28 00:07:34Z 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
#ifdef _PSP
18
#if defined(_PSP) || defined(__PPU__)
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; }