remove myinttypes.h

This commit is contained in:
Nguyen Anh Quynh 2016-04-26 09:47:30 +08:00
parent 9ec3345ed6
commit 3f461adae3
32 changed files with 29 additions and 42 deletions

View File

@ -60,7 +60,6 @@ set(HEADERS_ENGINE
MCInstrDesc.h
SStream.h
cs_priv.h
myinttypes.h
include/platform.h
)

View File

@ -12,7 +12,8 @@
#endif
#include <string.h>
#include "myinttypes.h"
#include <platform.h>
#include "SStream.h"
#include "cs_priv.h"
#include "utils.h"

View File

@ -16,7 +16,7 @@
#ifdef CAPSTONE_HAS_ARM64
#include "../../myinttypes.h"
#include <platform.h>
#include <stdio.h>
#include <stdlib.h>

View File

@ -15,7 +15,7 @@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "../../myinttypes.h"
#include <platform.h>
#include "ARMAddressingModes.h"
#include "ARMBaseInfo.h"

View File

@ -19,7 +19,7 @@
#include <stdio.h> // DEBUG
#include <stdlib.h>
#include <string.h>
#include "../../myinttypes.h"
#include <platform.h>
#include "ARMInstPrinter.h"
#include "ARMAddressingModes.h"

View File

@ -19,7 +19,7 @@
#include <stdio.h>
#include <string.h>
#include "../../myinttypes.h"
#include <platform.h>
#include "../../utils.h"

View File

@ -16,7 +16,7 @@
#ifdef CAPSTONE_HAS_MIPS
#include "../../myinttypes.h"
#include <platform.h>
#include <stdlib.h>
#include <stdio.h> // debug
#include <string.h>

View File

@ -10,7 +10,7 @@
/* By Nguyen Anh Quynh <aquynh@gmail.com>, 2013-2014 */
#include <stdio.h> // debug
#include "../../myinttypes.h"
#include <platform.h>
/// printInstruction - This method is automatically generated by tablegen
/// from the instruction set description.

View File

@ -10,7 +10,7 @@
/* By Nguyen Anh Quynh <aquynh@gmail.com>, 2013-2014 */
#include <stdio.h> // debug
#include "../../myinttypes.h"
#include <platform.h>
/// printInstruction - This method is automatically generated by tablegen

View File

@ -10,7 +10,7 @@
/* By Nguyen Anh Quynh <aquynh@gmail.com>, 2013-2014 */
#include <stdio.h> // debug
#include "../../myinttypes.h"
#include <platform.h>
/// printInstruction - This method is automatically generated by tablegen

View File

@ -19,7 +19,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "../../myinttypes.h"
#include <platform.h>
#include "SystemZInstPrinter.h"
#include "../../MCInst.h"

View File

@ -21,7 +21,7 @@
#if !defined(CAPSTONE_HAS_OSXKERNEL)
#include <ctype.h>
#endif
#include "../../myinttypes.h"
#include <platform.h>
#if defined(CAPSTONE_HAS_OSXKERNEL)
#include <libkern/libkern.h>
#else

View File

@ -19,7 +19,6 @@
#ifdef CAPSTONE_HAS_X86
#include "../../myinttypes.h" // debug
#include <string.h>
#include "../../cs_priv.h"

View File

@ -20,7 +20,7 @@
#if !defined(CAPSTONE_HAS_OSXKERNEL)
#include <ctype.h>
#endif
#include "../../myinttypes.h"
#include <platform.h>
#if defined(CAPSTONE_HAS_OSXKERNEL)
#include <libkern/libkern.h>
#else

View File

@ -10,7 +10,7 @@
/* By Nguyen Anh Quynh <aquynh@gmail.com>, 2013-2014 */
#include <stdio.h> // debug
#include "../../myinttypes.h"
#include <platform.h>
/// printInstruction - This method is automatically generated by tablegen

View File

@ -19,7 +19,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "../../myinttypes.h"
#include <platform.h>
#include "XCoreInstPrinter.h"
#include "../../MCInst.h"

View File

@ -1,10 +0,0 @@
/* Capstone Disassembly Engine */
/* By Axel Souchet, 2014 */
#ifndef CS_MYINTTYPES_H
#define CS_MYINTTYPES_H
// The contents of myinttype.h are moved to platform.h
#include <platform.h>
#endif

View File

@ -9,8 +9,8 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "../../myinttypes.h"
#include <platform.h>
#include <capstone.h>
static csh handle;

View File

@ -4,8 +4,8 @@
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include "../myinttypes.h"
#include <platform.h>
#include <capstone.h>
static void test()

View File

@ -3,8 +3,8 @@
#include <stdio.h>
#include <stdlib.h>
#include "../myinttypes.h"
#include <platform.h>
#include <capstone.h>
struct platform {

View File

@ -3,8 +3,8 @@
#include <stdio.h>
#include <stdlib.h>
#include "../myinttypes.h"
#include <platform.h>
#include <capstone.h>
static csh handle;

View File

@ -3,8 +3,8 @@
#include <stdio.h>
#include <stdlib.h>
#include "../myinttypes.h"
#include <platform.h>
#include <capstone.h>
static csh handle;

View File

@ -3,8 +3,8 @@
#include <stdio.h>
#include <stdlib.h>
#include "../myinttypes.h"
#include <platform.h>
#include <capstone.h>
struct platform {

View File

@ -4,8 +4,8 @@
// This sample code demonstrates the APIs cs_malloc() & cs_disasm_iter().
#include <stdio.h>
#include <stdlib.h>
#include "../myinttypes.h"
#include <platform.h>
#include <capstone.h>
struct platform {

View File

@ -3,8 +3,8 @@
#include <stdio.h>
#include <stdlib.h>
#include "../myinttypes.h"
#include <platform.h>
#include <capstone.h>
struct platform {

View File

@ -2,8 +2,8 @@
/* By Nguyen Anh Quynh <aquynh@gmail.com>, 2013> */
#include <stdio.h>
#include "../myinttypes.h"
#include <platform.h>
#include <capstone.h>
struct platform {

View File

@ -3,8 +3,8 @@
#include <stdio.h>
#include <stdlib.h>
#include "../myinttypes.h"
#include <platform.h>
#include <capstone.h>
struct platform {

View File

@ -2,8 +2,8 @@
/* By Nguyen Anh Quynh <aquynh@gmail.com>, 2013-2014 */
#include <stdio.h>
#include "../myinttypes.h"
#include <platform.h>
#include <capstone.h>
struct platform {

View File

@ -2,8 +2,8 @@
/* By Nguyen Anh Quynh <aquynh@gmail.com>, 2013-2014 */
#include <stdio.h>
#include "../myinttypes.h"
#include <platform.h>
#include <capstone.h>
struct platform {

View File

@ -3,8 +3,8 @@
#include <stdio.h>
#include <stdlib.h>
#include "../myinttypes.h"
#include <platform.h>
#include <capstone.h>
static csh handle;

View File

@ -2,8 +2,8 @@
/* By Nguyen Anh Quynh <aquynh@gmail.com>, 2013-2014 */
#include <stdio.h>
#include "../myinttypes.h"
#include <platform.h>
#include <capstone.h>
struct platform {

View File

@ -308,7 +308,6 @@
DC474F6B19DE6F3B00BCA449 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
DC5BFF4019EE544E008CA585 /* test_iter */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = test_iter; sourceTree = BUILT_PRODUCTS_DIR; };
DC5BFF4819EE54BE008CA585 /* test_iter.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = test_iter.c; path = ../tests/test_iter.c; sourceTree = "<group>"; };
DC696C5E1AD4600200A56306 /* myinttypes.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = myinttypes.h; path = ../myinttypes.h; sourceTree = "<group>"; };
DCFE23BD19DDCC2D00EF8EA9 /* libcapstone.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libcapstone.a; sourceTree = BUILT_PRODUCTS_DIR; };
DCFE23CD19DDCC9500EF8EA9 /* libcapstone.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = libcapstone.dylib; sourceTree = BUILT_PRODUCTS_DIR; };
DCFE23DD19DDCD8700EF8EA9 /* AArch64AddressingModes.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AArch64AddressingModes.h; sourceTree = "<group>"; };
@ -617,7 +616,6 @@
DCFE24B719DDCE1E00EF8EA9 /* MCInstrDesc.h */,
DCFE24A019DDCDEE00EF8EA9 /* MCRegisterInfo.c */,
DCFE24B819DDCE1E00EF8EA9 /* MCRegisterInfo.h */,
DC696C5E1AD4600200A56306 /* myinttypes.h */,
DCFE24A119DDCDEE00EF8EA9 /* SStream.c */,
DCFE24B919DDCE1E00EF8EA9 /* SStream.h */,
DCFE24A219DDCDEE00EF8EA9 /* utils.c */,