Changeset 18 in Main for trunk/Module


Ignore:
Timestamp:
Sep 14, 2024, 9:42:40 AM (2 months ago)
Author:
Nishi
Message:

can return response now

Location:
trunk/Module
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Module/Makefile

    r17 r18  
    99
    1010.o.so:
    11         $(CC) $(LDFLAGS) -shared -o $@ $< $(LIBS)
     11        $(CC) $(LDFLAGS) -shared -o $@ $< ../Common/common.a $(LIBS)
    1212
    1313.c.o:
  • trunk/Module/mod_example.c

    r17 r18  
    55int mod_init(struct tw_config* config, struct tw_tool* tools) {
    66        tools->log("Example", "This is an example module");
     7        tools->add_version("Example/0.0");
    78        return 0;
    89}
Note: See TracChangeset for help on using the changeset viewer.