Cleanup event types
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
|
||||
#include <system/CFFI.h>
|
||||
#include <utils/Bytes.h>
|
||||
#include <utils/String.h>
|
||||
|
||||
|
||||
namespace lime {
|
||||
@@ -15,7 +14,7 @@ namespace lime {
|
||||
|
||||
Resource () : data (NULL), path (NULL) {}
|
||||
Resource (const char* path) : data (NULL), path (path) {}
|
||||
Resource (HL_String* path) : data (NULL), path (path ? hl_to_utf8 ((const uchar*)path->bytes) : NULL) {}
|
||||
Resource (hl_vstring* path) : data (NULL), path (path ? hl_to_utf8 ((const uchar*)path->bytes) : NULL) {}
|
||||
Resource (Bytes* data) : data (data), path (NULL) {}
|
||||
|
||||
Bytes* data;
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
#ifndef LIME_UTILS_STRING_H
|
||||
#define LIME_UTILS_STRING_H
|
||||
|
||||
|
||||
#include <system/CFFI.h>
|
||||
|
||||
|
||||
namespace lime {
|
||||
|
||||
|
||||
struct HL_String {
|
||||
|
||||
hl_type* t;
|
||||
unsigned char* bytes;
|
||||
int length;
|
||||
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user