CoreFW  Check-in [63a650b235]

Overview
Comment:Adjust include guards.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 63a650b235ea5d0a58b22d662d128b34d95bc7a368c63f6a2cff79f4b2a6cb31
User & Date: js on 2012-04-08 20:55:02
Other Links: manifest | tags
Context
2012-04-08
21:08
Fix includes in tests. check-in: 23193dc30b user: js tags: trunk
20:55
Adjust include guards. check-in: 63a650b235 user: js tags: trunk
20:53
Remove cfw prefix from files. check-in: e6664d7c7a user: js tags: trunk
Changes

Modified src/array.h from [66521fbb5c] to [d35cab6ba8].

20
21
22
23
24
25
26
27
28


29
30
31
32
33
34
35
20
21
22
23
24
25
26


27
28
29
30
31
32
33
34
35







-
-
+
+







 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 * POSSIBILITY OF SUCH DAMAGE.
 */

#ifndef __CFWARRAY_H__
#define __CFWARRAY_H__
#ifndef __COREFW_ARRAY_H__
#define __COREFW_ARRAY_H__

#include "class.h"

typedef struct CFWArray CFWArray;
extern CFWClass *cfw_array;
extern size_t cfw_array_size(CFWArray*);
extern void* cfw_array_get(CFWArray*, size_t);

Modified src/class.h from [46eab99091] to [f56d4a2a72].

20
21
22
23
24
25
26
27
28


29
30
31
32
33
34
35
20
21
22
23
24
25
26


27
28
29
30
31
32
33
34
35







-
-
+
+







 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 * POSSIBILITY OF SUCH DAMAGE.
 */

#ifndef __CFWCLASS_H__
#define __CFWCLASS_H__
#ifndef __COREFW_CLASS_H__
#define __COREFW_CLASS_H__

#include <stddef.h>
#include <stdbool.h>
#include <stdarg.h>

typedef struct CFWClass {
	const char *name;

Modified src/corefw.h from [d37cc9147e] to [ad7e5260a5].

1
2


3
4
5
6
7
8
9


1
2
3
4
5
6
7
8
9
-
-
+
+







#ifndef __COREFW_H__
#define __COREFW_H__
#ifndef __COREFW_COREFW_H__
#define __COREFW_COREFW_H__

#include "class.h"
#include "object.h"
#include "string.h"
#include "array.h"

#endif

Modified src/object.h from [d1921c89a6] to [39453636ba].

20
21
22
23
24
25
26
27
28


29
30
31
32
33
34
35
20
21
22
23
24
25
26


27
28
29
30
31
32
33
34
35







-
-
+
+







 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 * POSSIBILITY OF SUCH DAMAGE.
 */

#ifndef __CFWOBJECT_H__
#define __CFWOBJECT_H__
#ifndef __COREFW_OBJECT_H__
#define __COREFW_OBJECT_H__

#include "class.h"

typedef struct CFWObject {
	CFWClass *cls;
	int ref_cnt;
} CFWObject;

Modified src/range.h from [e7abd1c9f4] to [f44b6a0548].

20
21
22
23
24
25
26
27
28


29
30
31
32
33
34
35
20
21
22
23
24
25
26


27
28
29
30
31
32
33
34
35







-
-
+
+







 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 * POSSIBILITY OF SUCH DAMAGE.
 */

#ifndef __CFWRANGE_H__
#define __CFW_RANGE_H__
#ifndef __COREFW_RANGE_H__
#define __COREFW_RANGE_H__

typedef struct cfw_range_t {
	size_t start;
	size_t length;
} cfw_range_t;

extern cfw_range_t cfw_range_all;

Modified src/string.h from [dd369fef60] to [1b82e73c57].

20
21
22
23
24
25
26
27
28


29
30
31
32
33
34
35
20
21
22
23
24
25
26


27
28
29
30
31
32
33
34
35







-
-
+
+







 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 * POSSIBILITY OF SUCH DAMAGE.
 */

#ifndef __CFWSTRING_H__
#define __CFWSTRING_H__
#ifndef __COREFW_STRING_H__
#define __COREFW_STRING_H__

#include "class.h"

typedef struct CFWString CFWString;
extern CFWClass *cfw_string;
extern const char* cfw_string_c(CFWString*);
extern size_t cfw_string_len(CFWString*);