removing ksbit.h file

This commit is contained in:
Peli de Halleux 2016-11-29 21:55:37 -08:00
parent 8cf0984a3f
commit ce85907019
14 changed files with 18 additions and 24 deletions

View File

@ -1,4 +1,4 @@
#include "ksbit.h"
#include "pxt.h"
/**

View File

@ -1,4 +1,4 @@
#include "ksbit.h"
#include "pxt.h"
// keep in sync with github/pxt/pxtsim/libgeneric.ts
enum class NumberFormat {

View File

@ -1,4 +1,4 @@
#include "ksbit.h"
#include "pxt.h"
/**
* How to create the event.

View File

@ -1,4 +1,4 @@
#include "ksbit.h"
#include "pxt.h"
#include <limits.h>

View File

@ -1,4 +1,4 @@
#include "ksbit.h"
#include "pxt.h"
/**
* Creation, manipulation and display of LED images.

View File

@ -1,4 +1,4 @@
#include "ksbit.h"
#include "pxt.h"
enum class Button {
A = MICROBIT_ID_BUTTON_A,

View File

@ -1,12 +0,0 @@
#include "pxt.h"
#include "ManagedBuffer.h"
using namespace pxt;
MicroBitPin *getPin(int id);
typedef ImageData* Image;
typedef BufferData* Buffer;
namespace pxt {
uint32_t programSize();
uint32_t afterProgramPage();
}

View File

@ -1,4 +1,4 @@
#include "ksbit.h"
#include "pxt.h"
enum class DisplayMode_ {
//% block="black and white"

View File

@ -1,4 +1,4 @@
#include "ksbit.h"
#include "pxt.h"
enum MotorCommand {
//% block=coast

View File

@ -1,4 +1,4 @@
#include "ksbit.h"
#include "pxt.h"
namespace music {
/**

View File

@ -1,4 +1,4 @@
#include "ksbit.h"
#include "pxt.h"
enum class DigitalPin {
P0 = MICROBIT_ID_IO_P0, // edge connector 0

View File

@ -62,6 +62,8 @@ namespace pxt {
uint32_t *allocate(uint16_t sz);
int templateHash();
int programHash();
uint32_t programSize();
uint32_t afterProgramPage();
int getNumGlobals();
RefRecord* mkClassInstance(int vtableOffset);
@ -294,6 +296,11 @@ namespace pxt {
};
}
using namespace pxt;
MicroBitPin *getPin(int id);
typedef ImageData* Image;
typedef BufferData* Buffer;
// The ARM Thumb generator in the JavaScript code is parsing
// the hex file and looks for the magic numbers as present here.
//

View File

@ -12,7 +12,6 @@
"enums.d.ts",
"shims.d.ts",
"pxt-core.d.ts",
"ksbit.h",
"core.cpp",
"pxt-helpers.ts",
"helpers.ts",

View File

@ -1,4 +1,4 @@
#include "ksbit.h"
#include "pxt.h"
enum SerialPin {
P0 = MICROBIT_ID_IO_P0,