Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

restructure include files

  • Loading branch information...
commit 5ae03f2f38d0040edf18bc9fb7ebbec14786b672 1 parent 8b39217
@trung authored
View
0  src/action_message.hrl → include/action_message.hrl
File renamed without changes
View
0  src/flex_classes.hrl → include/flex_classes.hrl
File renamed without changes
View
0  src/messages.hrl → include/messages.hrl
File renamed without changes
View
4 src/amf0.erl
@@ -3,7 +3,7 @@
-export([read_object/1, read_u8/1, read_u16/1, read_u32/1, read_string/1, reset/0]).
--include("action_message.hrl").
+-include("../include/action_message.hrl").
-define(number_marker, 16#00).
-define(boolean_marker, 16#01).
@@ -89,7 +89,7 @@ read_xml(Bin) ->
read_long_string(Bin).
read_typed_object(Bin) ->
- {ok, ClassName, BinAfterClassName} = read_string(Bin),
+ {ok, _ClassName, _BinAfterClassName} = read_string(Bin),
{bad, {"Not yet implemented", ?MODULE, ?LINE, Bin}}.
%% return {ok, value/Value, Rest} or {bad, Reason}
View
6 src/amf3.erl
@@ -3,9 +3,9 @@
% -export([read_object/1, reset/0, read_uint_29/1]).
-compile(export_all).
--include("action_message.hrl").
--include("messages.hrl").
--include("flex_classes.hrl").
+-include("../include/action_message.hrl").
+-include("../include/messages.hrl").
+-include("../include/flex_classes.hrl").
-define(undefined_marker, 16#00).
-define(null_marker, 16#01).
View
2  src/deserializer.erl
@@ -3,7 +3,7 @@
-export([read/1]).
--include("action_message.hrl").
+-include("../include/action_message.hrl").
read_header(Bin) ->
io:fwrite("Bin = ~n~p~n", [Bin]),
View
4 src/record_utils.erl
@@ -2,8 +2,8 @@
-author("trung@mdkt.org").
-compile(export_all).
--include("messages.hrl").
--include("flex_classes.hrl").
+-include("../include/messages.hrl").
+-include("../include/flex_classes.hrl").
%% Setters for records defined in messages.hrl file
%% return {ok, NewObject, {propertyName, NewValue}}
View
9 test/Makefile
@@ -0,0 +1,9 @@
+include ../support/include.mk
+
+all: $(EBIN_FILES_NO_DOCS)
+
+debug:
+ $(MAKE) DEBUG=-DDEBUG
+
+clean:
+ rm -rf $(EBIN_FILES_NO_DOCS)
Please sign in to comment.
Something went wrong with that request. Please try again.