mirror of
https://github.com/ccxvii/mujs.git
synced 2026-09-21 14:43:34 +08:00
Rename non-js utility sources to not have the 'js' prefix.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
SRCS := $(wildcard js*.c)
|
||||
HDRS := $(wildcard js*.h)
|
||||
SRCS := $(wildcard js*.c utf*.c)
|
||||
HDRS := $(wildcard js*.h utf.h)
|
||||
OBJS := $(SRCS:%.c=build/%.o)
|
||||
|
||||
CFLAGS = -Wall -g
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "jsi.h"
|
||||
#include "jslex.h"
|
||||
#include "jsutf.h"
|
||||
#include "utf.h"
|
||||
|
||||
#define nelem(a) (sizeof (a) / sizeof (a)[0])
|
||||
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
#include "jsi.h"
|
||||
#include "jsvalue.h"
|
||||
#include "jsbuiltin.h"
|
||||
#include "jsutf.h"
|
||||
#include "utf.h"
|
||||
|
||||
static int jsB_new_String(js_State *J, int argc)
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "jsi.h"
|
||||
#include "jscompile.h"
|
||||
#include "jsvalue.h"
|
||||
#include "jsutf.h"
|
||||
#include "utf.h"
|
||||
|
||||
double jsV_numbertointeger(double n)
|
||||
{
|
||||
|
||||
+1
-3
@@ -14,9 +14,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "jsutf.h"
|
||||
|
||||
#define uchar jsU_uchar
|
||||
#include "utf.h"
|
||||
|
||||
typedef unsigned char uchar;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "jsutf.h"
|
||||
#include "utf.h"
|
||||
|
||||
#define bsearch jsU_bsearch
|
||||
#define nelem(a) (sizeof (a) / sizeof (a)[0])
|
||||
Reference in New Issue
Block a user